Skip to content

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

ParameterType
payloadTelegramMessageReactionUpdated

Returns

MessageReactionUpdated

Properties

PropertyTypeDefined in
payloadTelegramMessageReactionUpdatedcontexts/index.d.ts:4325

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:4328

MDN

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


chat

Get Signature

get chat(): Chat

Defined in: contexts/index.d.ts:4330

The chat containing the message the user reacted to

Returns

Chat


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

TelegramReactionType[]


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

TelegramReactionType[]


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

Returns

User