inputThemeSettings

Theme settings

Constructor schema is available as of layer 132. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
message_colors_animated flags.2?true If set, the freeform gradient fill needs to be animated on every sent message
base_theme BaseTheme Default theme on which this theme is based
accent_color int Accent color, ARGB format
outbox_accent_color flags.3?int Accent color of outgoing messages in ARGB format
message_colors flags.0?Vector<int> The fill to be used as a background for outgoing messages, in RGB24 format.
If just one or two equal colors are provided, describes a solid fill of a background.
If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.
If three or four colors are provided, describes a freeform gradient fill of a background.
wallpaper flags.1?InputWallPaper inputWallPaper or inputWallPaperSlug when passing wallpaper files for image or pattern wallpapers, inputWallPaperNoFile with id=0 otherwise.
wallpaper_settings flags.1?WallPaperSettings Wallpaper settings.

Type

InputThemeSettings

Related pages

inputWallPaper

Wallpaper

Wallpapers

Telegram apps support generating, sharing and synchronizing chat backgrounds.

inputWallPaperNoFile

Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.