Constructor: updates.state

Back to constructors index

Updates state.

Attributes:

Name Type Required Description
pts int Yes Number of events occured in a text box
qts int Yes Position in a sequence of updates in secret chats. For further detailes refer to article secret chats
Parameter was added in eigth layer.
date int Yes Date of condition
seq int Yes Number of sent updates
unread_count int Yes Number of unread messages

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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.