messages.GetSavedDialogsByID

class pyrogram.raw.functions.messages.GetSavedDialogsByID

Obtain information about specific saved message dialogs » or monoforum topics ».

Details:
  • Layer: 223

  • ID: 6F6F9C96

Parameters:
  • ids (List of InputPeer) – IDs of dialogs (topics) to fetch.

  • parent_peer (InputPeer, optional) – If set, fetches monoforum topics », otherwise fetches saved message dialogs ».

Returns:

messages.SavedDialogs

TL Schema

messages.getSavedDialogsByID#6f6f9c96
flags:#
parent_peer:flags.1?InputPeer
ids:Vector<InputPeer>

= messages.SavedDialogs

Parameter Tree

GetSavedDialogsByID
├── parent_peerInputPeer (optional)
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── idsVector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    GetSavedDialogsByID(
        parent_peer=await app.resolve_peer(chat_id),
        ids=[
                await app.resolve_peer(chat_id)
            ],
    )
)