Skip to content

GramIO API Reference / @gramio/contexts/dist / BackgroundFillSolid

Class: BackgroundFillSolid ​

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

The background is filled using the selected color.

Documentation

Constructors ​

Constructor ​

new BackgroundFillSolid(payload): BackgroundFillSolid

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

Parameters ​

ParameterType
payloadTelegramBackgroundFillSolid

Returns ​

BackgroundFillSolid

Properties ​

PropertyTypeDefined in
payloadTelegramBackgroundFillSolidcontexts/index.d.ts:1212

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


color ​

Get Signature ​

get color(): number

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

The color of the background fill in the RGB24 format

Returns ​

number


type ​

Get Signature ​

get type(): "solid"

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

Type of the background fill, always “solid”

Returns ​

"solid"