setAvailableReactions

Set a chat’s available reactions. User-only.

Parameters

chatId: ID

The identifier of the chat.

availableReactions: "none" | "all" | Reaction[]

The new available reactions.

Result

void

Syntax

await client.setAvailableReactions(chatId, availableReactions);