updates.State
- class pyrogram.raw.types.updates.State
Updates state.
Constructor of
State.- Details:
Layer:
223ID:
A56C2A3E
- Parameters:
pts (
int32-bit) – Number of events occurred in a text boxqts (
int32-bit) – Position in a sequence of updates in secret chats. For further details refer to article secret chatsdate (
int32-bit) – Date of conditionseq (
int32-bit) – Number of sent updatesunread_count (
int32-bit) – Number of unread messages
- Functions:
This object can be returned by 1 function.
Returns a current state of updates.
TL Schema
updates.state#a56c2a3e
pts:int
qts:int
date:int
seq:int
unread_count:int
= updates.State
Parameter Tree
State
├── pts →
int├── qts →
int├── date →
int├── seq →
int└── unread_count →
intExample
State(
pts=0,
qts=0,
date=0,
seq=0,
unread_count=0,
)