MadelineProtoDocs/old_docs/API_docs_v34/constructors/updateChannelReadMessagesContents.md
2020-06-16 17:50:25 +02:00

1.0 KiB

title description image
updateChannelReadMessagesContents The specified [channel/supergroup](https://core.telegram.org/api/channel) messages were read https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChannelReadMessagesContents

Back to constructors index

The specified channel/supergroup messages were read

Attributes:

Name Type Required Description
channel_id int Yes Channel/supergroup ID
messages Array of int Yes IDs of messages that were read

Type: Update

Example:

$updateChannelReadMessagesContents = ['_' => 'updateChannelReadMessagesContents', 'channel_id' => int, 'messages' => [int, int]];

Or, if you're into Lua:

updateChannelReadMessagesContents={_='updateChannelReadMessagesContents', channel_id=int, messages={int}}