Reorder pinned dialogs
 Method schema is available as of layer 76. Switch ยป
| Name | Type | Description | 
|---|---|---|
| flags | # | Flags, see TL conditional fields | 
| force | flags.0?true | If set, dialogs pinned server-side but not present in the orderfield will be unpinned. | 
| folder_id | int | Peer folder ID, for more info click here | 
| order | Vector<InputDialogPeer> | New dialog order | 
| Code | Type | Description | 
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. | 
Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.