Package org.drinkless.tdlib
Class TdApi.EditChatSubscriptionInviteLink
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.ChatInviteLink>
org.drinkless.tdlib.TdApi.EditChatSubscriptionInviteLink
- Enclosing class:
- TdApi
public static class TdApi.EditChatSubscriptionInviteLink
extends TdApi.Function<TdApi.ChatInviteLink>
Edits a subscription invite link for a channel chat. Requires canInviteUsers right in the chat for own links and owner privileges for other links.
Returns ChatInviteLink
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.Invite link to be edited.Invite link name; 0-32 characters. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which edits a subscription invite link for a channel chat.EditChatSubscriptionInviteLink
(long chatId, String inviteLink, String name) Creates a function, which edits a subscription invite link for a channel chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link to be edited. -
name
Invite link name; 0-32 characters. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditChatSubscriptionInviteLink
public EditChatSubscriptionInviteLink()Default constructor for a function, which edits a subscription invite link for a channel chat. Requires canInviteUsers right in the chat for own links and owner privileges for other links.Returns
ChatInviteLink
-
EditChatSubscriptionInviteLink
Creates a function, which edits a subscription invite link for a channel chat. Requires canInviteUsers right in the chat for own links and owner privileges for other links.Returns
ChatInviteLink
- Parameters:
chatId
- Chat identifier.inviteLink
- Invite link to be edited.name
- Invite link name; 0-32 characters.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-