MadelineProtoDocs/docs/API_docs/constructors/updateChannelReadMessagesContents.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
updateChannelReadMessagesContents Update channel read messages contents https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChannelReadMessagesContents

Back to constructors index

Update channel read messages contents

Attributes:

Name Type Required Description
channel_id int Yes Channel ID
messages Array of int Yes Messages

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