1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 10:19:38 +01:00
MadelineProto/old_docs/API_docs_v71/constructors/updateChannelReadMessagesContents.md
2017-10-14 09:50:46 +00:00

900 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]];

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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