Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Types.BackgroundType
Contents
Synopsis
- data BackgroundType
- = BackgroundTypeFill { }
- | BackgroundTypeWallpaper { }
- | BackgroundTypePattern { }
- | BackgroundTypeChatTheme { }
BackgroundType
data BackgroundType Source #
This object describes the type of a background. Currently, it can be one of
- BackgroundTypeFill
- BackgroundTypeWallpaper
- BackgroundTypePattern
- BackgroundTypeChatTheme
Constructors
BackgroundTypeFill | The background is automatically filled based on the selected colors. |
Fields
| |
BackgroundTypeWallpaper | The background is a wallpaper in the JPEG format. |
Fields
| |
BackgroundTypePattern | The background is a PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user. |
Fields
| |
BackgroundTypeChatTheme | The background is taken directly from a built-in chat theme. |
Fields
|