Layer 220
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

Update

Gogram Example

// Creating UpdateChannelReadMessagesContents constructor
obj := &tg.UpdateChannelReadMessagesContents{
    ChannelId: int64(0),
    Messages: []int{},

    // Optional fields:
    // TopMsgId: 0,
    // SavedPeerId: &tg.Peer{},
}