Link Search Menu Expand Document

Constructor: updateReadHistoryInbox

Back to constructors index

Incoming messages were read

Attributes:

NameTypeRequiredDescription
folder_idintOptionalPeer folder ID, for more info click here
peerlongYesPeer
max_idintYesMaximum ID of messages read
still_unread_countintYesNumber of messages that are still unread
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'folder_id' => int, 'peer' => long, 'max_id' => int, 'still_unread_count' => int, 'pts' => int, 'pts_count' => int];