GramIO API Reference / @gramio/contexts/dist / BackgroundTypeFill
Class: BackgroundTypeFill
Defined in: contexts/index.d.ts:1054
The background is automatically filled based on the selected colors.
Constructors
Constructor
new BackgroundTypeFill(
payload):BackgroundTypeFill
Defined in: contexts/index.d.ts:1056
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBackgroundTypeFill |
Returns
BackgroundTypeFill
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBackgroundTypeFill | contexts/index.d.ts:1055 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1058
Returns
string
darkThemeDimming
Get Signature
get darkThemeDimming():
number
Defined in: contexts/index.d.ts:1070
Dimming of the background in dark themes, as a percentage; 0-100
Returns
number
fill
Get Signature
get fill(): typeof
BackgroundFillFreeformGradient| typeofBackgroundFillGradient| typeofBackgroundFillSolid
Defined in: contexts/index.d.ts:1066
The background fill
Returns
typeof BackgroundFillFreeformGradient | typeof BackgroundFillGradient | typeof BackgroundFillSolid
type
Get Signature
get type():
"fill"
Defined in: contexts/index.d.ts:1062
Type of the background, always “fill”
Returns
"fill"