MessageReplyHeader

class pyrogram.raw.types.MessageReplyHeader

Message replies and thread information

Constructor of MessageReplyHeader.

Details:
  • Layer: 194

  • ID: AFBC09DB

Parameters:
  • reply_to_scheduled (bool, optional) – This is a reply to a scheduled message.

  • forum_topic (bool, optional) – Whether this message was sent in a forum topic (except for the General topic).

  • quote (bool, optional) – Whether this message is quoting a part of another message.

  • reply_to_msg_id (int 32-bit, optional) – ID of message to which this message is replying

  • reply_to_peer_id (Peer, optional) – For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID

  • reply_from (MessageFwdHeader, optional) – When replying to a message sent by a certain peer to another chat, contains info about the peer that originally sent the message to that other chat.

  • reply_media (MessageMedia, optional) – When replying to a media sent by a certain peer to another chat, contains the media of the replied-to message.

  • reply_to_top_id (int 32-bit, optional) – ID of the message that started this message thread

  • quote_text (str, optional) – Used to quote-reply to only a certain section (specified here) of the original message.

  • quote_entities (List of MessageEntity, optional) – Message entities for styled text from the quote_text field.

  • quote_offset (int 32-bit, optional) – Offset of the message quote_text within the original message (in UTF-16 code units).