MadelineProtoDocs/docs/API_docs/constructors/updateReadMessagesContents.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
updateReadMessagesContents Contents of messages in the common message box were read true 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
date int Optional When was the last message in messages marked as read.

Type: Update

Example:

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