MadelineProtoDocs/old_docs/API_docs_v8/constructors/updateReadMessagesContents.md
2020-06-16 17:50:25 +02:00

1.1 KiB

title description image
updateReadMessagesContents Contents of messages in the common [message box](https://core.telegram.org/api/updates) were read https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateReadMessagesContents

Back to constructors index

Contents of messages in the common message box were read

Attributes:

Name Type Required Description
messages Array of int Yes IDs of read messages
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update

Example:

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

Or, if you're into Lua:

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