Skip to content

Background

Type · TDLib 1.8.67 · d1085f9c

Describes a chat background

Background(
  id: int64,
  is_default: Bool,
  is_dark: Bool,
  name: string,
  document: Document,
  type: BackgroundType
) → Background

id

int64

Unique background identifier

is_default

Bool

True, if this is one of default backgrounds

is_dark

Bool

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

name

string

Unique background name

document

Document

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

type

BackgroundType

Type of the background