Skip to content

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

Class: UniqueGiftBackdrop

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

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

Parameters

ParameterType
payloadTelegramUniqueGiftBackdrop

Returns

UniqueGiftBackdrop

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftBackdropcontexts/index.d.ts:4669

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


colors

Get Signature

get colors(): UniqueGiftBackdropColors

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

Colors of the backdrop

Returns

UniqueGiftBackdropColors


name

Get Signature

get name(): string

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

Name of the backdrop

Returns

string


rarityPerMille

Get Signature

get rarityPerMille(): number

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

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

Returns

number