GramIO API Reference / @gramio/contexts/dist / UniqueGiftBackdropColors
Class: UniqueGiftBackdropColors
Defined in: contexts/index.d.ts:4510
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:4512
Parameters
| Parameter | Type |
|---|---|
payload | TelegramUniqueGiftBackdropColors |
Returns
UniqueGiftBackdropColors
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramUniqueGiftBackdropColors | contexts/index.d.ts:4511 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:4514
Returns
string
centerColor
Get Signature
get centerColor():
number
Defined in: contexts/index.d.ts:4518
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:4522
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:4526
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:4530
The color for the text on the backdrop in RGB format
Returns
number