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

x/mtkruto/client/3_reaction_manager.ts>ReactionManager

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class ReactionManager
import { ReactionManager } from "https://deno.land/x/mtkruto@0.1.141/client/3_reaction_manager.ts";

Constructors

new
ReactionManager(c: C)

Methods

addReaction(
chatId: number,
messageId: number,
reaction: Reaction,
)
removeReaction(
chatId: number,
messageId: number,
reaction: Reaction,
)
setAvailableReactions(chatId: ID, availableReactions: "none" | "all" | Reaction[])
setReactions(
chatId: number,
messageId: number,
reactions: Reaction[],
)