1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
updateReadHistoryInbox | Incoming messages were read | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateReadHistoryInbox
Incoming messages were read
Attributes:
Name | Type | Required | Description |
---|---|---|---|
folder_id | int | Optional | Peer folder ID, for more info click here |
peer | Peer | Yes | Peer |
max_id | int | Yes | Maximum ID of messages read |
still_unread_count | int | Yes | Number of messages that are still unread |
pts | int | Yes | Event count after generation |
pts_count | int | Yes | Number of events that were generated |
Type: Update
Example:
$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'folder_id' => int, 'peer' => Peer, 'max_id' => int, 'still_unread_count' => int, 'pts' => int, 'pts_count' => int];
Or, if you're into Lua:
updateReadHistoryInbox={_='updateReadHistoryInbox', folder_id=int, peer=Peer, max_id=int, still_unread_count=int, pts=int, pts_count=int}