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