Layer 220
UpdateReadChannelInbox
Incoming messages in a channel/supergroup were read
constructor
updateReadChannelInbox#922e6e10 flags:# folder_id:flags.0?int channel_id:long max_id:int still_unread_count:int pts:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| FolderId | flags.0?int | Peer folder ID, for more info click here |
| ChannelId | long | Channel/supergroup ID |
| MaxId | int | Position up to which all incoming messages are read. |
| StillUnreadCount | int | Count of messages weren't read yet |
| Pts | int | Event count after generation |
Returns
UpdateGogram Example
// Creating UpdateReadChannelInbox constructor obj := &tg.UpdateReadChannelInbox{ ChannelId: int64(0), MaxId: 0, StillUnreadCount: 0, Pts: 0, // Optional fields: // FolderId: 0, }