Class TdApi.AddChatFolderByInviteLink
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.AddChatFolderByInviteLink
- Enclosing class:
- TdApi
Adds a chat folder by an invite link.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong[]
Identifiers of the chats added to the chat folder.static final int
Identifier uniquely determining type of the object.Invite link for the chat folder. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which adds a chat folder by an invite link.AddChatFolderByInviteLink
(String inviteLink, long[] chatIds) Creates a function, which adds a chat folder by an invite link. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
inviteLink
Invite link for the chat folder. -
chatIds
public long[] chatIdsIdentifiers of the chats added to the chat folder. The chats are automatically joined if they aren't joined yet. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddChatFolderByInviteLink
public AddChatFolderByInviteLink()Default constructor for a function, which adds a chat folder by an invite link.Returns
Ok
-
AddChatFolderByInviteLink
Creates a function, which adds a chat folder by an invite link.Returns
Ok
- Parameters:
inviteLink
- Invite link for the chat folder.chatIds
- Identifiers of the chats added to the chat folder. The chats are automatically joined if they aren't joined yet.
-
-
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
-