updates.State

class pyrogram.raw.types.updates.State

Updates state.

Constructor of State.

Details:
  • Layer: 223

  • ID: A56C2A3E

Parameters:
  • pts (int 32-bit) – Number of events occurred in a text box

  • qts (int 32-bit) – Position in a sequence of updates in secret chats. For further details refer to article secret chats

  • date (int 32-bit) – Date of condition

  • seq (int 32-bit) – Number of sent updates

  • unread_count (int 32-bit) – Number of unread messages

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,
)