Skip to content

MessageReplyToMessage

Type · TDLib 1.8.67 · d1085f9c

Describes a message replied by a given message

MessageReplyToMessage(
  chat_id: int53,
  message_id: int53,
  quote: TextQuote,
  checklist_task_id: int32,
  poll_option_id: string,
  origin: MessageOrigin,
  origin_send_date: int32,
  content: MessageContent
) → MessageReplyTo

chat_id

int53

The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat

message_id

int53

The identifier of the message; may be 0 if the replied message is in unknown chat

quote

TextQuote

Chosen quote from the replied message; may be null if none

checklist_task_id

int32

Identifier of the checklist task in the original message that was replied; 0 if none

poll_option_id

string

Identifier of the poll option in the original message that was replied; empty if none

origin

MessageOrigin

Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat

origin_send_date

int32

Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat

content

MessageContent

Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. Can be only one of the following types: messageAnimation, messageAudio, messageChecklist, messageContact, messageDice, messageDocument, messageGame, messageGiveaway, messageGiveawayWinners, messageInvoice, messageLocation, messagePaidMedia, messagePhoto, messagePoll, messageStakeDice, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote