Function create_chat_folder

Source
pub async fn create_chat_folder(
    folder: ChatFolder,
    client_id: i32,
) -> Result<ChatFolderInfo, Error>
Expand description

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

§Arguments

  • folder - The new chat folder
  • client_id - The client id to send the request to