Available types

MessageReactionUpdated

This object represents a change of a reaction on a message performed by a user.

fields

fieldtyperequireddescription
chatChatrequiredThe chat containing the message the user reacted to
message_idnumberrequiredUnique identifier of the message inside the chat
userUseroptionalOptional. The user that changed the reaction, if the user isn't anonymous
actor_chatChatoptionalOptional. The chat on behalf of which the reaction was changed, if the user is anonymous
datenumberrequiredDate of the change in Unix time
old_reactionReactionType[]requiredPrevious list of reaction types that were set by the user
new_reactionReactionType[]requiredNew list of reaction types that have been set by the user

import

types.ts
import type { MessageReactionUpdated } from "@yaebal/types";

used by

types