messages.getPinnedDialogs #

Get pinned dialogs

Layer 223

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;

Parameters #

NameTypeDescription
folder_idintPeer folder ID, for more info click here

Result #

messages.PeerDialogs

Only users can use this method #

Possible errors #

CodeTypeDescription
400FOLDER_ID_INVALIDInvalid folder ID.

Dialog folders #

Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.