messages.GetSavedDialogs
- class pyrogram.raw.functions.messages.GetSavedDialogs
Returns the current saved dialog list » or monoforum topic list ».
- Details:
Layer:
223ID:
1E91FC99
- Parameters:
offset_date (
int32-bit) – Offsets for pagination, for more info click hereoffset_id (
int32-bit) – Offsets for pagination, for more info click here (top_message ID used for pagination)offset_peer (
InputPeer) – Offset peer for paginationlimit (
int32-bit) – Number of list elements to be returnedhash (
int64-bit) – Hash used for caching, for more info click hereexclude_pinned (
bool, optional) – Exclude pinned dialogsparent_peer (
InputPeer, optional) – If set, fetches the topic list of the passed monoforum, otherwise fetches the saved dialog list.
- Returns:
TL Schema
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
Parameter Tree
GetSavedDialogs
├── exclude_pinned →
true (optional)├── parent_peer →
InputPeer (optional)│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── offset_date →
int├── offset_id →
int├── offset_peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── limit →
int└── hash →
longExample
await app.invoke(
GetSavedDialogs(
exclude_pinned=None,
parent_peer=await app.resolve_peer(chat_id),
offset_date=0,
offset_id=0,
offset_peer=await app.resolve_peer(chat_id),
limit=0,
hash=0,
)
)