Skip to content

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

Class: ReactionTypePaid

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

The reaction is paid.

Documentation

Extends

  • ReactionType

Constructors

Constructor

new ReactionTypePaid(payload): ReactionTypePaid

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

Parameters

ParameterType
payloadTelegramReactionTypePaid

Returns

ReactionTypePaid

Overrides

ReactionType.constructor

Properties

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

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

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

ParameterType
typeT

Returns

this is ReactionTypeMapping[T]

Inherited from

ReactionType.is