Module tdlight.api

Class TdApi.CreateChatFolder

Enclosing class:
TdApi

public static final 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

  • Constructor Details

    • CreateChatFolder

      public CreateChatFolder()
      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 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 - ChatFolder The new chat folder.
    • CreateChatFolder

      public CreateChatFolder(DataInput input) throws IOException
      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
      Throws:
      IOException
  • Method Details