reorder_folders()¶
- async Client.reorder_folders()¶
Change the order of chat folders.
Usable by Users Bots- Parameters:
folder_ids (List of
int) – Identifiers of the chat folders, in the new order.main_chat_list_position (
int, optional) – Position of the main chat list among the folders, 0-based. Can be non-zero only for Premium users.
- Returns:
bool– On success, True is returned.
Example
await app.reorder_folders([2, 5, 4])