Link Search Menu Expand Document

Constructor: updateReadChannelInbox

Back to constructors index

Incoming messages in a channel/supergroup were read

Attributes:

NameTypeRequiredDescription
folder_idintOptionalPeer folder ID, for more info click here
channel_idlongYesChannel/supergroup ID
max_idintYesPosition up to which all incoming messages are read.
still_unread_countintYesCount of messages weren’t read yet
ptsintYesEvent count after generation

Type: Update

Example:

$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'folder_id' => int, 'channel_id' => long, 'max_id' => int, 'still_unread_count' => int, 'pts' => int];