MadelineProtoDocs/docs/API_docs/constructors/updates.state.md
2024-05-01 14:53:46 +02:00

1.1 KiB

title description nav_exclude image redirect_from
updates.state Updates state. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/updates_state.html

Constructor: updates.state

Back to constructors index

Updates state.

Attributes:

Name Type Required Description
pts int Yes Number of events occurred in a text box
qts int Yes Position in a sequence of updates in secret chats. For further details refer to article secret chats
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];