Class TdApi.ReorderChatFolders
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.ReorderChatFolders
- Enclosing class:
- TdApi
Changes the order of chat folders.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionint[]
Identifiers of chat folders in the new correct order.static final int
Identifier uniquely determining type of the object.int
Position of the main chat list among chat folders, 0-based. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the order of chat folders.ReorderChatFolders
(int[] chatFolderIds, int mainChatListPosition) Creates a function, which changes the order of chat folders. -
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
-
chatFolderIds
public int[] chatFolderIdsIdentifiers of chat folders in the new correct order. -
mainChatListPosition
public int mainChatListPositionPosition of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReorderChatFolders
public ReorderChatFolders()Default constructor for a function, which changes the order of chat folders.Returns
Ok
-
ReorderChatFolders
public ReorderChatFolders(int[] chatFolderIds, int mainChatListPosition) Creates a function, which changes the order of chat folders.Returns
Ok
- Parameters:
chatFolderIds
- Identifiers of chat folders in the new correct order.mainChatListPosition
- Position of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users.
-
-
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
-