Link Search Menu Expand Document

Constructor: updateReadMessagesContents

Back to constructors index

Contents of messages in the common message box were read (emitted specifically for messages like voice messages or video, only once the media is watched and marked as read using messages.readMessageContents).

Attributes:

NameTypeRequiredDescription
messagesArray of intYesIDs of read messages
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated
dateintOptionalWhen was the last message in messages marked as read.

Type: Update

Example:

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