messages.setChatAvailableReactions
Change the set of message reactions » that can be used in a certain group, supergroup or channel
Change the set of [message reactions »](https://core.telegram.org/api/reactions.md) that can be used in a certain group, supergroup or channel
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Group where to apply changes |
available_reactions | ChatReactions | Yes | Allowed reaction emojis |
reactions_limit | int | No | This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); this field and the other info set by the method will then be available to users in [channelFull](https://core.telegram.org/constructor/channelFull.md) and [chatFull](https://core.telegram.org/constructor/chatFull.md). If this flag is not set, the previously configured `reactions_limit` will not be altered. |
paid_enabled | Bool | No | If this flag is set and a [Bool](https://core.telegram.org/type/Bool.md) is passed, the method will enable or disable [paid message reactions »](https://core.telegram.org/api/reactions.md#paid-reactions). If this flag is not set, the previously stored setting will not be changed. |
Responses
Updates
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · CHAT_NOT_MODIFIED — No changes were made to chat information because the new information you passed is identical to the current information.
- 400 · DOCUMENT_INVALID — The specified document is invalid.
- 400 · LIMIT_PER_POST_INVALID — The specified reactions_limit value is invalid.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · REACTION_INVALID — The specified reaction is invalid.