View Source ExTDLib.Method.CreateChatFolder (ExTDLib v0.0.4)

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 object_ptr<ChatFolderInfo>.

NameTypeDescription
folderchatFolderThe new chat folder.

More details on telegram's documentation.