Skip to content

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

Class: ReactionTypePaid ​

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

The reaction is paid.

Documentation

Extends ​

  • ReactionType

Constructors ​

Constructor ​

new ReactionTypePaid(payload): ReactionTypePaid

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

Parameters ​

ParameterType
payloadTelegramReactionTypePaid

Returns ​

ReactionTypePaid

Overrides ​

ReactionType.constructor

Properties ​

PropertyTypeOverridesDefined in
payloadTelegramReactionTypePaidReactionType.payloadcontexts/index.d.ts:4783

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string

Inherited from ​

ReactionType.[toStringTag]


type ​

Get Signature ​

get type(): "paid"

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

Type of the reaction, always emoji

Returns ​

"paid"

Methods ​

is() ​

is<T>(type): this is ReactionTypeMapping[T]

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

Is this reaction type the same as the type?

Type Parameters ​

Type Parameter
T extends "custom_emoji" | "emoji" | "paid"

Parameters ​

ParameterType
typeT

Returns ​

this is ReactionTypeMapping[T]

Inherited from ​

ReactionType.is