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

x/mtkruto/types/2_message_reactions.ts>MessageReactions

Cross-runtime JavaScript library for building Telegram clients
Latest
interface MessageReactions
import { type MessageReactions } from "https://deno.land/x/mtkruto@0.6.2/types/2_message_reactions.ts";

The reactions of a user to a messages in a group.

Properties

chat: ChatP

The chat containing the message the user reacted to.

messageId: number

The message's identifier.

optional
user: User

The user who changed their reactions to the message. Unset if done on behalf of a chat.

optional
actorChat: ChatP

The chat that changed its reactions to the message. Unset if done on behalf of a user.

date: Date

The point in time in which the change was made.

oldReactions: Reaction[]

The previous reactions.

newReactions: Reaction[]

The current reactions.