GramIO API Reference / @gramio/contexts/dist / ReactionTypePaid
Class: ReactionTypePaid
Defined in: contexts/index.d.ts:4286
The reaction is paid.
Extends
ReactionType
Constructors
Constructor
new ReactionTypePaid(
payload):ReactionTypePaid
Defined in: contexts/index.d.ts:4288
Parameters
| Parameter | Type |
|---|---|
payload | TelegramReactionTypePaid |
Returns
ReactionTypePaid
Overrides
ReactionType.constructor
Properties
| Property | Type | Overrides | Defined in |
|---|---|---|---|
payload | TelegramReactionTypePaid | ReactionType.payload | contexts/index.d.ts:4287 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4302
Returns
string
Inherited from
ReactionType.[toStringTag]
type
Get Signature
get type():
"paid"
Defined in: contexts/index.d.ts:4290
Type of the reaction, always emoji
Returns
"paid"
Methods
is()
is<
T>(type):this is ReactionTypeMapping[T]
Defined in: contexts/index.d.ts:4304
Is this reaction type the same as the type?
Type Parameters
| Type Parameter |
|---|
T extends "custom_emoji" | "emoji" | "paid" |
Parameters
| Parameter | Type |
|---|---|
type | T |
Returns
this is ReactionTypeMapping[T]
Inherited from
ReactionType.is