MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateReadHistoryInbox.md
2019-12-27 17:48:04 +01:00

1.0 KiB

title description image
updateReadHistoryInbox Incoming messages were read https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateReadHistoryInbox

Back to constructors index

Incoming messages were read

Attributes:

Name Type Required Description
peer Peer Yes Peer
max_id int Yes Maximum ID of messages read
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update

Example:

$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int];

Or, if you're into Lua:

updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int}