Skip to content

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

Class: UniqueGiftSymbol

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

Describes a service message about a regular gift that was sent or received.

Documentation

Constructors

Constructor

new UniqueGiftSymbol(payload): UniqueGiftSymbol

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

Parameters

ParameterType
payloadTelegramUniqueGiftSymbol

Returns

UniqueGiftSymbol

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftSymbolcontexts/index.d.ts:4721

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


name

Get Signature

get name(): string

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

Name of the model

Returns

string


rarityPerMille

Get Signature

get rarityPerMille(): number

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

The number of unique gifts that receive this model for every 1000 gifts upgraded

Returns

number


sticker

Get Signature

get sticker(): StickerAttachment

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

The sticker that represents the unique gift

Returns

StickerAttachment