GramIO API Reference / @gramio/contexts/dist / UniqueGiftBackdropColors
Class: UniqueGiftBackdropColors
Defined in: contexts/index.d.ts:5022
Describes a service message about a regular gift that was sent or received.
Constructors
Constructor
new UniqueGiftBackdropColors(
payload):UniqueGiftBackdropColors
Defined in: contexts/index.d.ts:5024
Parameters
| Parameter | Type |
|---|---|
payload | TelegramUniqueGiftBackdropColors |
Returns
UniqueGiftBackdropColors
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramUniqueGiftBackdropColors | contexts/index.d.ts:5023 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:5026
Returns
string
centerColor
Get Signature
get centerColor():
number
Defined in: contexts/index.d.ts:5030
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:5034
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:5038
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:5042
The color for the text on the backdrop in RGB format
Returns
number