reorder_chat_folders

Function reorder_chat_folders 

Source
pub async fn reorder_chat_folders(
    chat_folder_ids: Vec<i32>,
    main_chat_list_position: i32,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the order of chat folders

ยงArguments

  • chat_folder_ids - Identifiers of chat folders in the new correct order
  • main_chat_list_position - Position of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users
  • client_id - The client id to send the request to