messages.getSavedDialogs #

Returns the current saved dialog list » or monoforum topic list ».

Layer 223

messages.savedDialogs#f83ae221 dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs;
messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs;
messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs;
---functions---
messages.getSavedDialogs#1e91fc99 flags:# exclude_pinned:flags.0?true parent_peer:flags.1?InputPeer offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
exclude_pinnedflags.0?trueExclude pinned dialogs
parent_peerflags.1?InputPeerIf set, fetches the topic list of the passed monoforum, otherwise fetches the saved dialog list.
offset_dateintOffsets for pagination, for more info click here
offset_idintOffsets for pagination, for more info click here (top_message ID used for pagination)
offset_peerInputPeerOffset peer for pagination
limitintNumber of list elements to be returned
hashlongHash used for caching, for more info click here

Result #

messages.SavedDialogs

Only users can use this method #

Pagination in the API #

How to fetch results from large lists of objects.

Saved messages #

The Saved Messages chat allows users to bookmark messages and media: it's a personal cloud storage for any messages or media you may want to send or forward there.

Direct messages to channels #

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.