Class TdApi.CreateChatFolder
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.ChatFolderInfo>
dev.voroby.springframework.telegram.client.TdApi.CreateChatFolder
- Enclosing class:
- TdApi
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 Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The new chat folder. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which creates new chat folder.CreateChatFolder
(TdApi.ChatFolder folder) Creates a function, which creates new chat folder. -
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
-
folder
The new chat folder. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-