messages.DiscussionMessage

class pyrogram.raw.types.messages.DiscussionMessage

Information about a message thread

Constructor of DiscussionMessage.

Details:
  • Layer: 194

  • ID: A6341782

Parameters:
  • messages (List of Message) – The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message ID).

  • unread_count (int 32-bit) – Number of unread 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

Functions:

This object can be returned by 1 function.

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