MadelineProtoDocs/old_docs/API_docs_v91/constructors/updateReadMessagesContents.md
2019-03-08 13:49:23 +01: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}