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; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".
    • CheckChatInviteLink

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