Module tdlight.api

Class TdApi.ReorderChatFolders

Enclosing class:
TdApi

public static final class TdApi.ReorderChatFolders extends TdApi.Function<TdApi.Ok>
Changes the order of chat folders. Returns Ok
  • Field Details

    • chatFolderIds

      public int[] chatFolderIds
      Identifiers of chat folders in the new correct order.
    • mainChatListPosition

      public int mainChatListPosition
      Position 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. Returns Ok
    • ReorderChatFolders

      public ReorderChatFolders(int[] chatFolderIds, int mainChatListPosition)
      Changes the order of chat folders. Returns Ok
      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

      public ReorderChatFolders(DataInput input) throws IOException
      Changes the order of chat folders. Returns Ok
      Throws:
      IOException
  • Method Details