Constructor: messageReplyHeader
Message replies and thread information
Attributes:
Name | Type | Required | Description |
---|---|---|---|
reply_to_scheduled | Bool | Optional | This is a reply to a scheduled message. |
forum_topic | Bool | Optional | Whether this message was sent in a forum topic (except for the General topic). |
quote | Bool | Optional | Whether this message is quoting a part of another message. |
reply_to_msg_id | int | Optional | ID of message to which this message is replying |
reply_to_peer_id | Peer | Optional | For replies sent in channel discussion threads of which the current user is not a member, the discussion group ID |
reply_from | MessageFwdHeader | Optional | 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 | Optional | 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 | Optional | ID of the message that started this message thread |
quote_text | string | Optional | Used to quote-reply to only a certain section (specified here) of the original message. |
quote_entities | Array of MessageEntity | Optional | Message entities for styled text from the quote_text field. |
quote_offset | int | Optional | Offset of the message quote_text within the original message (in UTF-16 code units). |
Type: MessageReplyHeader
Example:
$messageReplyHeader = ['_' => 'messageReplyHeader', 'reply_to_scheduled' => Bool, 'forum_topic' => Bool, 'quote' => Bool, 'reply_to_msg_id' => int, 'reply_to_peer_id' => Peer, 'reply_from' => MessageFwdHeader, 'reply_media' => MessageMedia, 'reply_to_top_id' => int, 'quote_text' => 'string', 'quote_entities' => [MessageEntity, MessageEntity], 'quote_offset' => int];