Interface Background

Describes a chat background.

interface Background {
    @type: "background";
    document: Document;
    id: string;
    is_dark?: boolean;
    is_default?: boolean;
    name: string;
    type: BackgroundType;
}

Properties

@type: "background"
document: Document

Document with the background; may be null. Null only for filled and chat theme backgrounds.

id: string

Unique background identifier.

is_dark?: boolean

True, if the background is dark and is recommended to be used with dark theme.

is_default?: boolean

True, if this is one of default backgrounds.

name: string

Unique background name.

Type of the background.