Class TdApi.CreateChatFolder

Enclosing class:
TdApi

public static class TdApi.CreateChatFolder extends TdApi.Function<TdApi.ChatFolderInfo>
Creates new chat folder. Returns information about the created chat folder. There can be up to getOption("chat_folder_count_max") chat folders, but the limit can be increased with Telegram Premium.

Returns ChatFolderInfo

  • Field Details

    • folder

      public TdApi.ChatFolder folder
      The new chat folder.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • CreateChatFolder

      public CreateChatFolder()
      Default constructor for a function, which creates new chat folder. Returns information about the created chat folder. There can be up to getOption("chat_folder_count_max") chat folders, but the limit can be increased with Telegram Premium.

      Returns ChatFolderInfo

    • CreateChatFolder

      public CreateChatFolder(TdApi.ChatFolder folder)
      Creates a function, which creates new chat folder. Returns information about the created chat folder. There can be up to getOption("chat_folder_count_max") chat folders, but the limit can be increased with Telegram Premium.

      Returns ChatFolderInfo

      Parameters:
      folder - The new chat folder.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR