Package org.drinkless.tdlib
Class TdApi.DeleteRevokedChatInviteLink
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringinviteLinkInvite link to revoke.
-
Constructor Summary
Constructors Constructor Description DeleteRevokedChatInviteLink()Default constructor for a function, which deletes revoked chat invite links.DeleteRevokedChatInviteLink(long chatId, String inviteLink)Creates a function, which deletes revoked chat invite links.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-