messageReplyHeader
Message replies and thread information
type tg.MessageReplyHeader struct { /* ... */ }
Implements MessageReplyHeader.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ReplyToScheduled | bool | — | This is a reply to a scheduled message. |
ForumTopic | bool | — | Whether this message was sent in a forum topic (except for the General topic). |
Quote | bool | — | Whether this message is quoting a part of another message. |
ReplyToEphemeral | bool | — | ReplyToEphemeral field of MessageReplyHeader. |
ReplyToMsgID | int | — | ID of message to which this message is replying |
ReplyToPeerID | PeerClass | — | For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID |
ReplyFrom | MessageFwdHeader | — | 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. |
ReplyMedia | MessageMediaClass | — | When replying to a media sent by a certain peer to another chat, contains the media of the replied-to message. |
ReplyToTopID | int | — | ID of the message that started this message thread |
QuoteText | string | — | 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. |
QuoteOffset | int | — | Offset of the message quote_text within the original message (in UTF-16 code units). |
TodoItemID | int | — | Can be set to reply to the specified item of a todo list ». |
PollOption | []byte | — | PollOption field of MessageReplyHeader. |
References
- Official documentation
- Generated Go reference
- TL definition:
messageReplyHeader#1b97dd66