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

973 B

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

Constructor: updateReadMessages

Back to constructors index

Update read messages

Attributes:

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

Type: Update

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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