MadelineProtoDocs/old_docs/API_docs_v72/constructors/updateChannelReadMessagesContents.md
2018-04-01 13:24:46 +02:00

905 B

title description
updateChannelReadMessagesContents updateChannelReadMessagesContents attributes, type and example

Constructor: updateChannelReadMessagesContents

Back to constructors index

Attributes:

Name Type Required
channel_id int Yes
messages Array of int Yes

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateChannelReadMessagesContents", "channel_id": int, "messages": [int]}

Or, if you're into Lua:

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