messages.GetDialogUnreadMarks

class pyrogram.raw.functions.messages.GetDialogUnreadMarks

Get dialogs manually marked as unread

Details:
  • Layer: 223

  • ID: 21202222

Parameters:

parent_peer (InputPeer, optional) – Can be equal to the ID of a monoforum, to fetch monoforum topics manually marked as unread.

Returns:

List of DialogPeer

TL Schema

messages.getDialogUnreadMarks#21202222
flags:#
parent_peer:flags.0?InputPeer

= Vector<DialogPeer>

Parameter Tree

GetDialogUnreadMarks
└── parent_peerInputPeer (optional)
├── 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(
    GetDialogUnreadMarks(
        parent_peer=await app.resolve_peer(chat_id),
    )
)