GramIO API Reference / @gramio/contexts/dist / ReactionCount
Class: ReactionCount
Defined in: contexts/index.d.ts:4413
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:4415
Parameters
| Parameter | Type |
|---|---|
payload | TelegramReactionCount |
Returns
ReactionCount
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramReactionCount | contexts/index.d.ts:4414 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4417
Returns
string
totalCount
Get Signature
get totalCount():
number
Defined in: contexts/index.d.ts:4421
Number of times the reaction was added
Returns
number
type
Get Signature
get type():
ReactionTypeEmoji|ReactionTypeCustomEmoji
Defined in: contexts/index.d.ts:4419
Type of the reaction