telegram api constructor · layer 229 · #1b97dd66
messageReplyHeader
Message replies and thread information
definition
messageReplyHeader#1b97dd66 flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_ephemeral:flags.13?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector<MessageEntity> quote_offset:flags.10?int todo_item_id:flags.11?int poll_option:flags.12?bytes = MessageReplyHeader;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
reply_to_scheduled | true | This is a reply to a scheduled message. |
forum_topic | true | Whether this message was sent in a forum topic (except for the General topic). |
quote | true | Whether this message is quoting a part of another message. |
reply_to_ephemeral | true | |
reply_to_msg_id | int | ID of message to which this message is replying |
reply_to_peer_id | Peer | For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID |
reply_from | 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. |
reply_media | MessageMedia | 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 | ID of the message that started this message thread |
quote_text | string | Used to quote-reply to only a certain section (specified here) of the original message. |
quote_entities | Vector<MessageEntity> | Message entities for styled text from the quote_text field. |
quote_offset | int | Offset of the message quote_text within the original message (in UTF-16 code units). |
todo_item_id | int | Can be set to reply to the specified item of a todo list ». |
poll_option | bytes |
type
MessageReplyHeader · other constructors: messageReplyStoryHeader
history
present in layers 119–229 · constructor id changed 4×
| id | layers |
|---|---|
| #a6d57763 | 119–165 |
| #6eebcabd | 166 |
| #afbc09db | 167–207 |
| #6917560b | 208–223 |
| #1b97dd66 | 224–229 |