Layer 220
UpdateReadChannelDiscussionInbox
Incoming comments in a discussion thread were marked as read
constructor
updateReadChannelDiscussionInbox#d6b19546 flags:# channel_id:long top_msg_id:int read_max_id:int broadcast_id:flags.0?long broadcast_post:flags.0?int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| ChannelId | long | Discussion group ID |
| TopMsgId | int | ID of the group message that started the thread (message in linked discussion group) |
| ReadMaxId | int | Message ID of latest read incoming message for this thread |
| BroadcastId | flags.0?long | If set, contains the ID of the channel that contains the post that started the comment thread in the discussion group ( channel_id ) |
| BroadcastPost | flags.0?int | If set, contains the ID of the channel post that started the comment thread |
Returns
UpdateGogram Example
// Creating UpdateReadChannelDiscussionInbox constructor obj := &tg.UpdateReadChannelDiscussionInbox{ ChannelId: int64(0), TopMsgId: 0, ReadMaxId: 0, // Optional fields: // BroadcastId: int64(0), // BroadcastPost: 0, }