Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/client/5_client.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.2.24/client/5_client.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