Skip to content

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

Class: UniqueGiftSymbol ​

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

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

Parameters ​

ParameterType
payloadTelegramUniqueGiftSymbol

Returns ​

UniqueGiftSymbol

Properties ​

PropertyTypeDefined in
payloadTelegramUniqueGiftSymbolcontexts/index.d.ts:5103

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


name ​

Get Signature ​

get name(): string

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

Name of the model

Returns ​

string


rarityPerMille ​

Get Signature ​

get rarityPerMille(): number

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

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

The sticker that represents the unique gift

Returns ​

StickerAttachment