MadelineProtoDocs/docs/API_docs/constructors/updateMessageReactions.md

33 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updateMessageReactions"
description: "New message reactions » are available"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateMessageReactions
[Back to constructors index](/API_docs/constructors/index.html)
New [message reactions »](https://core.telegram.org/api/reactions) are available
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[long](/API_docs/types/long.html) | Yes|Peer|
|msg\_id|[int](/API_docs/types/int.html) | Yes|Message ID|
|top\_msg\_id|[int](/API_docs/types/int.html) | Optional|[Forum topic ID](https://core.telegram.org/api/forum#forum-topics)|
|reactions|[MessageReactions](/API_docs/types/MessageReactions.html) | Yes|Reactions|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateMessageReactions = ['_' => 'updateMessageReactions', 'peer' => long, 'msg_id' => int, 'top_msg_id' => int, 'reactions' => MessageReactions];
```