div-text-range-mask-solid

A mask to hide text (spoiler). Looks like a rectangle filled with the color specified in the color parameter, same as in Telegram.

Parameters

Parameters Description
color

string

Required parameter.

Color.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

Functionality is under development.

type

string

Required parameter.

The value must always be solid.

Functionality is under development.

is_enabled

bool

Controls the mask state. If set to true, the mask will hide the specified part of text. Otherwise, the text will be shown.

Default value: true.

Functionality is under development.

JSON
{
  type*: "solid",
  color*: "string",
  is_enabled: "bool"
}