Class TdApi.DeleteRevokedChatInviteLink

  • Enclosing class:
    TdApi

    public static class TdApi.DeleteRevokedChatInviteLink
    extends TdApi.Function
    Deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • inviteLink

        public String inviteLink
        Invite link to revoke.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeleteRevokedChatInviteLink

        public DeleteRevokedChatInviteLink()
        Default constructor for a function, which deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

        Returns Ok

      • DeleteRevokedChatInviteLink

        public DeleteRevokedChatInviteLink​(long chatId,
                                           String inviteLink)
        Creates a function, which deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

        Returns Ok

        Parameters:
        chatId - Chat identifier.
        inviteLink - Invite link to revoke.