|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The background is automatically filled based on the selected colors. https://core.telegram.org/bots/api#backgroundtypefill. More...
#include <BackgroundType.hpp>
Public Member Functions | |
| BackgroundTypeFill () | |
| BackgroundTypeFill (const nl::json &json) | |
| nl::json | toJson () const override |
| void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::BackgroundType | |
| BackgroundType ()=default | |
| BackgroundType (const nl::json &json) | |
| virtual | ~BackgroundType ()=default |
Public Attributes | |
| Ptr< BackgroundFill > | fill |
| The background fill. | |
| std::int32_t | darkThemeDimming {} |
| Dimming of the background in dark themes, as a percentage; 0-100. | |
Public Attributes inherited from tgbotxx::BackgroundType | |
| std::string | type |
| Type of the background, one of "fill", "wallpaper", "pattern", "chat_theme". | |
The background is automatically filled based on the selected colors. https://core.telegram.org/bots/api#backgroundtypefill.
Definition at line 42 of file BackgroundType.hpp.
|
inline |
Definition at line 43 of file BackgroundType.hpp.
|
inlineexplicit |
Definition at line 46 of file BackgroundType.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundType.
Definition at line 63 of file BackgroundType.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundType.
Definition at line 56 of file BackgroundType.hpp.
| std::int32_t tgbotxx::BackgroundTypeFill::darkThemeDimming {} |
Dimming of the background in dark themes, as a percentage; 0-100.
Definition at line 54 of file BackgroundType.hpp.
| Ptr<BackgroundFill> tgbotxx::BackgroundTypeFill::fill |
The background fill.
Definition at line 51 of file BackgroundType.hpp.