GramIO API Reference / @gramio/contexts/dist / MessageReactionUpdated
Class: MessageReactionUpdated
Defined in: contexts/index.d.ts:4324
This object represents a change of a reaction on a message performed by a user.
Extended by
Constructors
Constructor
new MessageReactionUpdated(
payload):MessageReactionUpdated
Defined in: contexts/index.d.ts:4326
Parameters
| Parameter | Type |
|---|---|
payload | TelegramMessageReactionUpdated |
Returns
MessageReactionUpdated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramMessageReactionUpdated | contexts/index.d.ts:4325 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4328
Returns
string
actorChat
Get Signature
get actorChat():
Chat
Defined in: contexts/index.d.ts:4336
The chat on behalf of which the reaction was changed, if the user is anonymous
Returns
chat
Get Signature
get chat():
Chat
Defined in: contexts/index.d.ts:4330
The chat containing the message the user reacted to
Returns
date
Get Signature
get date():
number
Defined in: contexts/index.d.ts:4338
Date of the change in Unix time
Returns
number
id
Get Signature
get id():
number
Defined in: contexts/index.d.ts:4332
Unique identifier of the message inside the chat
Returns
number
newReactions
Get Signature
get newReactions():
TelegramReactionType[]
Defined in: contexts/index.d.ts:4342
New list of reaction types that have been set by the user
Returns
oldReactions
Get Signature
get oldReactions():
TelegramReactionType[]
Defined in: contexts/index.d.ts:4340
Previous list of reaction types that were set by the user
Returns
user
Get Signature
get user():
User
Defined in: contexts/index.d.ts:4334
The user that changed the reaction, if the user isn't anonymous