mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
|
---
|
||
|
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];
|
||
|
```
|