Background
Describes a chat background.
This is an alias for the BackgroundUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "background" | |
id | string | Unique background identifier |
isDefault | boolean | True, if this is one of default backgrounds |
isDark | boolean | True, if the background is dark and is recommended to be used with dark theme |
name | string | Unique background name |
document | Document with the background; may be null. Null only for filled backgrounds | |
type | Type of the background |