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

x/mtkruto/mod.ts>Client#addReaction

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