Skip to content

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

Class: ReactionCount ​

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

Represents a reaction added to a message along with the number of times it was added.

Constructors ​

Constructor ​

new ReactionCount(payload): ReactionCount

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

Parameters ​

ParameterType
payloadTelegramReactionCount

Returns ​

ReactionCount

Properties ​

PropertyTypeDefined in
payloadTelegramReactionCountcontexts/index.d.ts:4917

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


totalCount ​

Get Signature ​

get totalCount(): number

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

Number of times the reaction was added

Returns ​

number


type ​

Get Signature ​

get type(): ReactionTypeEmoji | ReactionTypeCustomEmoji

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

Type of the reaction

Returns ​

ReactionTypeEmoji | ReactionTypeCustomEmoji