Skip to content

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.

Documentation

Constructors

Constructor

new BackgroundTypeFill(payload): BackgroundTypeFill

Defined in: contexts/index.d.ts:1056

Parameters

ParameterType
payloadTelegramBackgroundTypeFill

Returns

BackgroundTypeFill

Properties

PropertyTypeDefined in
payloadTelegramBackgroundTypeFillcontexts/index.d.ts:1055

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:1058

MDN

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 | typeof BackgroundFillGradient | typeof BackgroundFillSolid

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"