Skip to content

ThemeSettings

Type · TDLib 1.8.67 · d1085f9c

Describes theme settings

ThemeSettings(
  base_theme: BuiltInTheme,
  accent_color: int32,
  background: Background,
  outgoing_message_fill: BackgroundFill,
  animate_outgoing_message_fill: Bool,
  outgoing_message_accent_color: int32
) → ThemeSettings

base_theme

BuiltInTheme

Base theme for this theme

accent_color

int32

Theme accent color in ARGB format

background

Background

The background to be used in chats; may be null

outgoing_message_fill

BackgroundFill

The fill to be used as a background for outgoing messages; may be null if the fill from the base theme must be used instead

animate_outgoing_message_fill

Bool

If true, the freeform gradient fill needs to be animated on every sent message

outgoing_message_accent_color

int32

Accent color of outgoing messages in ARGB format