Class TdApi.GetChatInviteLink

Enclosing class:
TdApi

public static class TdApi.GetChatInviteLink
extends TdApi.Function
Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links.

Returns ChatInviteLink

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

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

    • GetChatInviteLink

      public GetChatInviteLink()
      Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links.

      Returns ChatInviteLink

    • GetChatInviteLink

      public GetChatInviteLink​(long chatId, String inviteLink)
      Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links.

      Returns ChatInviteLink

      Parameters:
      chatId - long Chat identifier.
      inviteLink - String Invite link to get.
    • GetChatInviteLink

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