mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
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
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];