Class TdApi.SetPinnedChats
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.SetPinnedChats
- Enclosing class:
- TdApi
Changes the order of pinned chats.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong[]
The new list of pinned chats.Chat list in which to change the order of pinned chats.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the order of pinned chats.SetPinnedChats
(TdApi.ChatList chatList, long[] chatIds) Creates a function, which changes the order of pinned chats. -
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
-
chatList
Chat list in which to change the order of pinned chats. -
chatIds
public long[] chatIdsThe new list of pinned chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetPinnedChats
public SetPinnedChats()Default constructor for a function, which changes the order of pinned chats.Returns
Ok
-
SetPinnedChats
Creates a function, which changes the order of pinned chats.Returns
Ok
- Parameters:
chatList
- Chat list in which to change the order of pinned chats.chatIds
- The new list of pinned chats.
-
-
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
-