channels.ReadMessageContents
- class pyrogram.raw.functions.channels.ReadMessageContents
Mark channel/supergroup message contents as read, emitting an updateChannelReadMessagesContents.
- Details:
Layer:
223ID:
EAB5DC38
- Parameters:
channel (
InputChannel) – Channel/supergroupid (List of
int32-bit) – IDs of messages whose contents should be marked as read
- Returns:
bool
TL Schema
channels.readMessageContents#eab5dc38
channel:InputChannel
id:Vector<int>
= Bool
Parameter Tree
ReadMessageContents
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── id →
Vector < int >Example
await app.invoke(
ReadMessageContents(
channel=await app.resolve_channel(chat_id),
id=[0],
)
)