MadelineProtoDocs/old_docs/API_docs_v102/constructors/updateReadHistoryInbox.md
2019-06-24 15:45:02 +02:00

1.1 KiB

title description image
updateReadHistoryInbox Update read history inbox https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateReadHistoryInbox

Back to constructors index

Update read history inbox

Attributes:

Name Type Required Description
folder_id int Optional Folder ID
peer Peer Yes Peer
max_id int Yes Max ID
still_unread_count int Yes Still unread count
pts int Yes Pts
pts_count int Yes Pts count

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}