Get pinned dialogs
messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs;
---functions---
messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs;
Name | Type | Description |
---|---|---|
folder_id | int | Peer folder ID, for more info click here |
Code | Type | Description |
---|---|---|
400 | FOLDER_ID_INVALID | Invalid folder ID. |
Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.