updates.State

class pyrogram.raw.base.updates.State

Object contains info on state for further updates.

Constructors:

This base type has 1 constructor available.

updates.State

Updates state.

Functions:

This object can be returned by 1 function.

updates.GetState

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
├── ptsint
├── qtsint
├── dateint
├── seqint
└── unread_countint

Example

State(
    pts=0,
    qts=0,
    date=0,
    seq=0,
    unread_count=0,
)