UpdateReadChannelInbox

class pyrogram.raw.types.UpdateReadChannelInbox

Incoming messages in a channel/supergroup were read

Constructor of Update.

Details:
  • Layer: 223

  • ID: 922E6E10

Parameters:
  • channel_id (int 64-bit) – Channel/supergroup ID

  • max_id (int 32-bit) – Position up to which all incoming messages are read.

  • still_unread_count (int 32-bit) – Count of messages weren’t read yet

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

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

TL Schema

updateReadChannelInbox#922e6e10
flags:#
folder_id:flags.0?int
channel_id:long
max_id:int
still_unread_count:int
pts:int

= Update

Parameter Tree

UpdateReadChannelInbox
├── folder_idint (optional)
├── channel_idlong
├── max_idint
├── still_unread_countint
└── ptsint

Example

UpdateReadChannelInbox(
    channel_id=0,
    max_id=0,
    still_unread_count=0,
    pts=0,
)