Skip to main content
Module

x/mtkruto/mod.ts>Client#addReaction

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.addReaction
import { Client } from "https://deno.land/x/mtkruto@0.2.24/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