UpdateReadChannelDiscussionInbox

class pyrogram.raw.types.UpdateReadChannelDiscussionInbox

Incoming comments in a discussion thread were marked as read

Constructor of Update.

Details:
  • Layer: 227

  • ID: D6B19546

Parameters:
  • channel_id (int 64-bit) – Discussion group ID

  • top_msg_id (int 32-bit) – ID of the group message that started the thread (message in linked discussion group)

  • read_max_id (int 32-bit) – Message ID of latest read incoming message for this thread

  • broadcast_id (int 64-bit, optional) – If set, contains the ID of the channel that contains the post that started the comment thread in the discussion group (channel_id)

  • broadcast_post (int 32-bit, optional) – If set, contains the ID of the channel post that started the comment thread

TL Schema

updateReadChannelDiscussionInbox#d6b19546
flags:#
channel_id:long
top_msg_id:int
read_max_id:int
broadcast_id:flags.0?long
broadcast_post:flags.0?int

= Update

Parameter Tree

UpdateReadChannelDiscussionInbox
├── channel_id → long
├── top_msg_id → int
├── read_max_id → int
├── broadcast_id → long (optional)
└── broadcast_post → int (optional)

Example

UpdateReadChannelDiscussionInbox(
    channel_id=0,
    top_msg_id=0,
    read_max_id=0,
)