GramIO API Reference / @gramio/contexts/dist / MessageReactionUpdated
Class: MessageReactionUpdated
Defined in: contexts/index.d.ts:4449
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:4451
Parameters
| Parameter | Type |
|---|---|
payload | TelegramMessageReactionUpdated |
Returns
MessageReactionUpdated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramMessageReactionUpdated | contexts/index.d.ts:4450 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4453
Returns
string
actorChat
Get Signature
get actorChat():
Chat
Defined in: contexts/index.d.ts:4461
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:4455
The chat containing the message the user reacted to
Returns
date
Get Signature
get date():
number
Defined in: contexts/index.d.ts:4463
Date of the change in Unix time
Returns
number
id
Get Signature
get id():
number
Defined in: contexts/index.d.ts:4457
Unique identifier of the message inside the chat
Returns
number
newReactions
Get Signature
get newReactions():
TelegramReactionType[]
Defined in: contexts/index.d.ts:4467
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:4465
Previous list of reaction types that were set by the user
Returns
user
Get Signature
get user():
User
Defined in: contexts/index.d.ts:4459
The user that changed the reaction, if the user isn't anonymous