Skip to content

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

Class: UniqueGiftSymbol

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

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:4592

Parameters

ParameterType
payloadTelegramUniqueGiftSymbol

Returns

UniqueGiftSymbol

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftSymbolcontexts/index.d.ts:4591

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


name

Get Signature

get name(): string

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

Name of the model

Returns

string


rarityPerMille

Get Signature

get rarityPerMille(): number

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

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:4602

The sticker that represents the unique gift

Returns

StickerAttachment