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

x/mtkruto/mod.ts>Client#addReaction

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

Make a reaction 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.

reaction: Reaction

The reaction to add.

optional
params: AddReactionParams