Skip to main content

messageReplyHeader

Message replies and thread information

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

Implements MessageReplyHeader.

Fields​

NameTypeRequiredDescription
ReplyToScheduledbool—This is a reply to a scheduled message.
ForumTopicbool—Whether this message was sent in a forum topic (except for the General topic).
Quotebool—Whether this message is quoting a part of another message.
ReplyToEphemeralbool—ReplyToEphemeral field of MessageReplyHeader.
ReplyToMsgIDint—ID of message to which this message is replying
ReplyToPeerIDPeerClass—For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID
ReplyFromMessageFwdHeader—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.
ReplyMediaMessageMediaClass—When replying to a media sent by a certain peer to another chat, contains the media of the replied-to message.
ReplyToTopIDint—ID of the message that started this message thread
QuoteTextstring—Used to quote-reply to only a certain section (specified here) of the original message.
QuoteEntities[]MessageEntityClass—Message entities for styled text from the quote_text field.
QuoteOffsetint—Offset of the message quote_text within the original message (in UTF-16 code units).
TodoItemIDint—Can be set to reply to the specified item of a todo list ».
PollOption[]byte—PollOption field of MessageReplyHeader.

References​