Skip to content

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

Class: UniqueGiftBackdrop

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

This object describes the colors of the backdrop of a unique gift.

Documentation

Constructors

Constructor

new UniqueGiftBackdrop(payload): UniqueGiftBackdrop

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

Parameters

ParameterType
payloadTelegramUniqueGiftBackdrop

Returns

UniqueGiftBackdrop

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftBackdropcontexts/index.d.ts:5051

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


colors

Get Signature

get colors(): UniqueGiftBackdropColors

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

Colors of the backdrop

Returns

UniqueGiftBackdropColors


name

Get Signature

get name(): string

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

Name of the backdrop

Returns

string


rarityPerMille

Get Signature

get rarityPerMille(): number

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

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

Returns

number