MadelineProtoDocs/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md
2019-12-27 17:48:04 +01: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 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}