Skip to content

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

Class: UniqueGiftBackdropColors

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

Describes a service message about a regular gift that was sent or received.

Documentation

Constructors

Constructor

new UniqueGiftBackdropColors(payload): UniqueGiftBackdropColors

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

Parameters

ParameterType
payloadTelegramUniqueGiftBackdropColors

Returns

UniqueGiftBackdropColors

Properties

PropertyTypeDefined in
payloadTelegramUniqueGiftBackdropColorscontexts/index.d.ts:4641

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


centerColor

Get Signature

get centerColor(): number

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

The color in the center of the backdrop in RGB format

Returns

number


edgeColor

Get Signature

get edgeColor(): number

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

The color on the edges of the backdrop in RGB format

Returns

number


symbolColor

Get Signature

get symbolColor(): number

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

The color to be applied to the symbol in RGB format

Returns

number


textColor

Get Signature

get textColor(): number

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

The color for the text on the backdrop in RGB format

Returns

number