Layer 220
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. read Message Contents )
constructor
updateChannelReadMessagesContents#25f324f7 flags:# channel_id:long top_msg_id:flags.0?int saved_peer_id:flags.1?Peer messages:Vector<int> = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| ChannelId | long | Channel/supergroup ID |
| TopMsgId | flags.0?int | Forum topic ID. |
| SavedPeerId | flags.1?Peer | If set, the messages were read within the specified monoforum topic. |
| Messages | Vector<int> | IDs of messages that were read |
Returns
UpdateGogram Example
// Creating UpdateChannelReadMessagesContents constructor obj := &tg.UpdateChannelReadMessagesContents{ ChannelId: int64(0), Messages: []int{}, // Optional fields: // TopMsgId: 0, // SavedPeerId: &tg.Peer{}, }