inputThemeSettings
Theme settings
type tg.InputThemeSettings struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
MessageColorsAnimated | bool | — | If set, the freeform gradient fill needs to be animated on every sent message |
BaseTheme | BaseThemeClass | yes | Default theme on which this theme is based |
AccentColor | int | yes | Accent color, ARGB format |
OutboxAccentColor | int | — | Accent color of outgoing messages in ARGB format |
MessageColors | []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 | InputWallPaperClass | — | inputWallPaper or inputWallPaperSlug when passing wallpaper files for image or pattern wallpapers, inputWallPaperNoFile with id=0 otherwise. |
WallpaperSettings | WallPaperSettings | — | Wallpaper settings. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputThemeSettings#8fde504f