1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 13:19:38 +01:00
MadelineProto/docs/API_docs/constructors/updateChannelReadMessagesContents.md

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}}