Skip to main content
Module

x/mtkruto/mod.ts>MessageReactions

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface MessageReactions
Re-export
import { type MessageReactions } from "https://deno.land/x/mtkruto@0.1.190/mod.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 of time in which the change was made.

oldReactions: Reaction[]

The previous reactions.

newReactions: Reaction[]

The current reactions.