Skip to content

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

Class: MessageReactionCountUpdated

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

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:4435

Parameters

ParameterType
payloadTelegramMessageReactionCountUpdated

Returns

MessageReactionCountUpdated

Properties

PropertyTypeDefined in
payloadTelegramMessageReactionCountUpdatedcontexts/index.d.ts:4434

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


chat

Get Signature

get chat(): Chat

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

The chat containing the message the user reacted to

Returns

Chat


date

Get Signature

get date(): number

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

Date of the change in Unix time

Returns

number


id

Get Signature

get id(): number

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

Unique identifier of the message inside the chat

Returns

number


reactions

Get Signature

get reactions(): ReactionType[]

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

List of reactions that are present on the message

Returns

ReactionType[]