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

nametypedescription
flags#Flags, see TL conditional fields
reply_to_scheduledflags.2?trueThis is a reply to a scheduled message.
forum_topicflags.3?trueWhether this message was sent in a forum topic (except for the General topic).
quoteflags.9?trueWhether this message is quoting a part of another message.
reply_to_ephemeralflags.13?true
reply_to_msg_idflags.4?intID of message to which this message is replying
reply_to_peer_idflags.0?PeerFor replies sent in channel discussion threads of which the current user is not a member, the discussion group ID
reply_fromflags.5?MessageFwdHeaderWhen 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_mediaflags.8?MessageMediaWhen replying to a media sent by a certain peer to another chat, contains the media of the replied-to message.
reply_to_top_idflags.1?intID of the message that started this message thread
quote_textflags.6?stringUsed to quote-reply to only a certain section (specified here) of the original message.
quote_entitiesflags.7?Vector<MessageEntity>Message entities for styled text from the quote_text field.
quote_offsetflags.10?intOffset of the message quote_text within the original message (in UTF-16 code units).
todo_item_idflags.11?intCan be set to reply to the specified item of a todo list ».
poll_optionflags.12?bytes

type

MessageReplyHeader · other constructors: messageReplyStoryHeader

history

present in layers 119–229 · constructor id changed 4×

idlayers
#a6d57763119–165
#6eebcabd166
#afbc09db167–207
#6917560b208–223
#1b97dd66224–229