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

1.0 KiB

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

Constructor: updateReadMessagesContents

Back to constructors index

Update read messages contents

Attributes:

Name Type Required Description
messages Array of int Yes Messages
pts int Yes Pts
pts_count int Yes Pts count

Type: Update

Example:

$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int, int], 'pts' => int, 'pts_count' => int];

PWRTelegram json-encoded version:

{"_": "updateReadMessagesContents", "messages": [int], "pts": int, "pts_count": int}

Or, if you're into Lua:

updateReadMessagesContents={_='updateReadMessagesContents', messages={int}, pts=int, pts_count=int}