MadelineProtoDocs/old_docs/API_docs_v62/constructors/updates_state.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

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];

PWRTelegram json-encoded version:

{"_": "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}