Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#setReactions

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.setReactions
import { Client } from "https://deno.land/x/mtkruto@0.1.157/mod.ts";

Change reactions made to a message.

Parameters

chatId: number

The identifier of the chat which the message belongs to.

messageId: number

The identifier of the message to add the reaction to.

reactions: Reaction[]

The new reactions.

optional
params: SetReactionsParams

Returns

Promise<void>