UpdateChannelReadMessagesContents
- class pyrogram.raw.types.UpdateChannelReadMessagesContents
The specified channel/supergroup messages were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using channels.readMessageContents)
Constructor of
Update.- Details:
Layer:
223ID:
25F324F7
- Parameters:
channel_id (
int64-bit) – Channel/supergroup IDmessages (List of
int32-bit) – IDs of messages that were readtop_msg_id (
int32-bit, optional) – Forum topic ID.saved_peer_id (
Peer, optional) – If set, the messages were read within the specified monoforum topic ».
TL Schema
updateChannelReadMessagesContents#25f324f7
flags:#
channel_id:long
top_msg_id:flags.0?int
saved_peer_id:flags.1?Peer
messages:Vector<int>
= Update
Parameter Tree
UpdateChannelReadMessagesContents
├── channel_id →
long├── top_msg_id →
int (optional)├── saved_peer_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long└── messages →
Vector < int >Example
UpdateChannelReadMessagesContents(
channel_id=0,
messages=[0],
)