messageReplyHeader #

Message replies and thread information

Layer 223

messageReplyHeader#6917560b flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?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 = 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_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?bytesIf the message is a reply to a specific poll answer option », the option bytes of the answer the reply is directed at.

Type #

MessageReplyHeader

Forum topics #

Telegram allows creating forums with multiple distinct topics.

Message threads #

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.

Styled text with message entities #

How to create styled text with message entities

Checklists and to-do lists #

Premium users can now create collaborative checklists in any chat to track tasks and coordinate teams — or manage shopping and to-do lists.

Polls and quizzes #

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.