div-text-range-mask-particles
A mask to hide text (spoiler). Looks like randomly distributed particles, same as in Telegram.
Parameters
Parameters | Description |
---|---|
color |
string Required parameter. The color of particles on the mask. Valid formats: Functionality is under development. |
type |
string Required parameter. The value must always be Functionality is under development. |
density |
number The density of particles on the mask. Interpreted as the probability of a particle to appear in a given point on the mask. Default value: Functionality is under development. |
is_animated |
bool Enables animation for particles on the mask. The animation looks like a smooth movement of particles across the mask, same as in Telegram. Default value: Functionality is under development. |
is_enabled |
bool Controls the mask state. If set to Default value: Functionality is under development. |
particle_size |
object The size of a single particle on the mask. The value has the type Default value: Functionality is under development. |
JSON
{
type*: "particles",
color*: "string",
density: "number",
is_animated: "bool",
is_enabled: "bool",
particle_size: {
type*: "fixed",
unit: "string",
value*: "int"
}
}