Class TdApi.CheckChatInviteLink

Enclosing class:
TdApi

public static class TdApi.CheckChatInviteLink
extends TdApi.Function
Checks the validity of an invite link for a chat and returns information about the corresponding chat.

Returns ChatInviteLinkInfo

  • Field Details

    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • CheckChatInviteLink

      public CheckChatInviteLink()
      Checks the validity of an invite link for a chat and returns information about the corresponding chat.

      Returns ChatInviteLinkInfo

    • CheckChatInviteLink

      public CheckChatInviteLink​(String inviteLink)
      Checks the validity of an invite link for a chat and returns information about the corresponding chat.

      Returns ChatInviteLinkInfo

      Parameters:
      inviteLink - String Invite link to be checked; must have URL "t.me", "telegram.me", or "telegram.dog" and query beginning with "/joinchat/" or "/+".
    • CheckChatInviteLink

      public CheckChatInviteLink​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details