UpdateReadMonoForumInbox

class pyrogram.raw.types.UpdateReadMonoForumInbox

Incoming messages in a monoforum topic were read

Constructor of Update.

Details:
  • Layer: 227

  • ID: 77B0E372

Parameters:
  • channel_id (int 64-bit) – ID of the monoforum.

  • saved_peer_id (Peer) – Topic ID.

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

TL Schema

updateReadMonoForumInbox#77b0e372
channel_id:long
saved_peer_id:Peer
read_max_id:int

= Update

Parameter Tree

UpdateReadMonoForumInbox
├── channel_id → long
├── saved_peer_id → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
└── read_max_id → int

Example

UpdateReadMonoForumInbox(
    channel_id=0,
    saved_peer_id=PeerUser(user_id=0),
    read_max_id=0,
)