DiscussionMessage

class pyrogram.raw.types.messages.DiscussionMessage

Information about a message thread.

Constructor type of DiscussionMessage.

Details
  • Layer: 126

  • ID: 0xf5dd8f9d

Parameters
  • messages (List of Message) – Discussion messages.

  • chats (List of Chat) – Chats mentioned in constructor.

  • users (List of User) – Users mentioned in constructor.

  • max_id (int 32-bit, optional) – Message ID of latest reply in this thread.

  • read_inbox_max_id (int 32-bit, optional) – Message ID of latest read incoming message in this thread.

  • read_outbox_max_id (int 32-bit, optional) – Message ID of latest read outgoing message in this thread.

Methods

This object can be returned by 1 method:

messages.GetDiscussionMessage

Get discussion message from the associated discussion group of a channel to show it on top of the comment section, without actually joining the group.