- 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
int
Position of the main chat list among chat folders, 0-based. -
Constructor Summary
ConstructorDescriptionChanges the order of chat folders.ReorderChatFolders
(int[] chatFolderIds, int mainChatListPosition) Changes the order of chat folders.ReorderChatFolders
(DataInput input) Changes the order of chat folders. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ReorderChatFolders
public ReorderChatFolders()Changes the order of chat folders. ReturnsOk
-
ReorderChatFolders
public ReorderChatFolders(int[] chatFolderIds, int mainChatListPosition) Changes the order of chat folders. ReturnsOk
- Parameters:
chatFolderIds
- int[] Identifiers of chat folders in the new correct order.mainChatListPosition
- int Position of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users.
-
ReorderChatFolders
Changes the order of chat folders. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-