Skip to content

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

Class: UniqueGiftBackdrop

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

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

Parameters

ParameterType
payloadTelegramUniqueGiftBackdrop

Returns

UniqueGiftBackdrop

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftBackdropcontexts/index.d.ts:4539

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


colors

Get Signature

get colors(): UniqueGiftBackdropColors

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

Colors of the backdrop

Returns

UniqueGiftBackdropColors


name

Get Signature

get name(): string

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

Name of the backdrop

Returns

string


rarityPerMille

Get Signature

get rarityPerMille(): number

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

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

Returns

number