# messageReplyHeader

> Message replies and thread information

[Back to constructors index](/API_docs/constructors/index.html)



Message replies and [thread](https://core.telegram.org/api/threads) information

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|reply\_to\_scheduled|[Bool](/API_docs/types/Bool.html) | Optional|This is a reply to a scheduled message.|
|forum\_topic|[Bool](/API_docs/types/Bool.html) | Optional|Whether this message was sent in a [forum topic](https://core.telegram.org/api/forum#forum-topics) (except for the General topic).|
|quote|[Bool](/API_docs/types/Bool.html) | Optional|Whether this message is quoting a part of another message.|
|reply\_to\_ephemeral|[Bool](/API_docs/types/Bool.html) | Optional|
|reply\_to\_msg\_id|[int](/API_docs/types/int.html) | Optional|ID of message to which this message is replying|
|reply\_to\_peer\_id|[Peer](/API_docs/types/Peer.html) | Optional|For replies sent in [channel discussion threads](https://core.telegram.org/api/threads) of which the current user is not a member, the discussion group ID|
|reply\_from|[MessageFwdHeader](/API_docs/types/MessageFwdHeader.html) | 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](/API_docs/types/MessageMedia.html) | 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](/API_docs/types/int.html) | Optional|ID of the message that started this [message thread](https://core.telegram.org/api/threads)|
|quote\_text|[string](/API_docs/types/string.html) | Optional|Used to quote-reply to only a certain section (specified here) of the original message.|
|quote\_entities|Array of [MessageEntity](/API_docs/types/MessageEntity.html) | Optional|[Message entities for styled text](https://core.telegram.org/api/entities) from the `quote_text` field.|
|quote\_offset|[int](/API_docs/types/int.html) | Optional|Offset of the message `quote_text` within the original message (in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length)).|
|todo\_item\_id|[int](/API_docs/types/int.html) | Optional|Can be set to reply to the specified item of a [todo list »](https://core.telegram.org/api/todo).|
|poll\_option|[bytes](/API_docs/types/bytes.html) | Optional|
|quote\_rich|Array of [RichText](/API_docs/types/RichText.html) | Optional|



### Type: [MessageReplyHeader](/API_docs/types/MessageReplyHeader.html)


### Example:

```
$messageReplyHeader = ['_' => 'messageReplyHeader', 'reply_to_scheduled' => Bool, 'forum_topic' => Bool, 'quote' => Bool, 'reply_to_ephemeral' => 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, 'todo_item_id' => int, 'poll_option' => 'bytes', 'quote_rich' => [RichText, RichText]];
```
