Skip to content

GramIO API Reference / @gramio/contexts/dist / MessageReactionCountUpdated

Class: MessageReactionCountUpdated ​

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

This object represents reaction changes on a message with anonymous reactions.

Extended by ​

Constructors ​

Constructor ​

new MessageReactionCountUpdated(payload): MessageReactionCountUpdated

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

Parameters ​

ParameterType
payloadTelegramMessageReactionCountUpdated

Returns ​

MessageReactionCountUpdated

Properties ​

PropertyTypeDefined in
payloadTelegramMessageReactionCountUpdatedcontexts/index.d.ts:4805

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


chat ​

Get Signature ​

get chat(): Chat

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

The chat containing the message the user reacted to

Returns ​

Chat


date ​

Get Signature ​

get date(): number

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

Date of the change in Unix time

Returns ​

number


id ​

Get Signature ​

get id(): number

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

Unique identifier of the message inside the chat

Returns ​

number


reactions ​

Get Signature ​

get reactions(): ReactionType[]

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

List of reactions that are present on the message

Returns ​

ReactionType[]