UpdateReadHistoryInbox

class pyrogram.raw.types.UpdateReadHistoryInbox

Incoming messages were read

Constructor of Update.

Details:
  • Layer: 223

  • ID: 9E84BC99

Parameters:
  • peer (Peer) – Peer

  • max_id (int 32-bit) – Maximum ID of messages read

  • still_unread_count (int 32-bit) – Number of messages that are still unread

  • pts (int 32-bit) – Event count after generation

  • pts_count (int 32-bit) – Number of events that were generated

  • folder_id (int 32-bit, optional) – Peer folder ID, for more info click here

  • top_msg_id (int 32-bit, optional)

TL Schema

updateReadHistoryInbox#9e84bc99
flags:#
folder_id:flags.0?int
peer:Peer
top_msg_id:flags.1?int
max_id:int
still_unread_count:int
pts:int
pts_count:int

= Update

Parameter Tree

UpdateReadHistoryInbox
├── folder_idint (optional)
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── top_msg_idint (optional)
├── max_idint
├── still_unread_countint
├── ptsint
└── pts_countint

Example

UpdateReadHistoryInbox(
    peer=PeerUser(user_id=0),
    max_id=0,
    still_unread_count=0,
    pts=0,
    pts_count=0,
)