Skip to main content

messageReplyHeader

Message replies and thread information

type tg.MessageReplyHeader struct { /* ... */ }

Implements MessageReplyHeader.

Fields

NameTypeRequiredDescription
ReplyToScheduledboolThis is a reply to a scheduled message.
ForumTopicboolWhether this message was sent in a forum topic (except for the General topic).
QuoteboolWhether this message is quoting a part of another message.
ReplyToEphemeralboolReplyToEphemeral field of MessageReplyHeader.
ReplyToMsgIDintID of message to which this message is replying
ReplyToPeerIDPeerClassFor replies sent in channel discussion threads of which the current user is not a member, the discussion group ID
ReplyFromMessageFwdHeaderWhen 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.
ReplyMediaMessageMediaClassWhen replying to a media sent by a certain peer to another chat, contains the media of the replied-to message.
ReplyToTopIDintID of the message that started this message thread
QuoteTextstringUsed to quote-reply to only a certain section (specified here) of the original message.
QuoteEntities[]MessageEntityClassMessage entities for styled text from the quote_text field.
QuoteOffsetintOffset of the message quote_text within the original message (in UTF-16 code units).
TodoItemIDintCan be set to reply to the specified item of a todo list ».
PollOption[]bytePollOption field of MessageReplyHeader.

References