MadelineProtoDocs/old_docs/API_docs_v27/constructors/updateReadMessages.md

825 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];

Or, if you're into Lua:

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