MadelineProtoDocs/old_docs/API_docs_v91/constructors/updates_state.md

882 B

title description image
updates.state State https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updates.state

Back to constructors index

State

Attributes:

Name Type Required Description
pts int Yes Pts
qts int Yes Qts
date int Yes Date
seq int Yes Seq
unread_count int Yes Unread count

Type: updates_State

Example:

$updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int];

Or, if you're into Lua:

updates_state={_='updates.state', pts=int, qts=int, date=int, seq=int, unread_count=int}