GramIO API Reference / @gramio/contexts/dist / BackgroundTypeFill
Class: BackgroundTypeFill
Defined in: contexts/index.d.ts:1093
The background is automatically filled based on the selected colors.
Constructors
Constructor
new BackgroundTypeFill(
payload):BackgroundTypeFill
Defined in: contexts/index.d.ts:1095
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBackgroundTypeFill |
Returns
BackgroundTypeFill
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBackgroundTypeFill | contexts/index.d.ts:1094 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1097
Returns
string
darkThemeDimming
Get Signature
get darkThemeDimming():
number
Defined in: contexts/index.d.ts:1109
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:1105
The background fill
Returns
typeof BackgroundFillFreeformGradient | typeof BackgroundFillGradient | typeof BackgroundFillSolid
type
Get Signature
get type():
"fill"
Defined in: contexts/index.d.ts:1101
Type of the background, always “fill”
Returns
"fill"