|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
This object describes the type of a background. It can be one of: More...
#include <BackgroundType.hpp>
Public Member Functions | |
| BackgroundType ()=default | |
| BackgroundType (const nl::json &json) | |
| virtual | ~BackgroundType ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of the background, one of "fill", "wallpaper", "pattern", "chat_theme". | |
This object describes the type of a background. It can be one of:
Definition at line 14 of file BackgroundType.hpp.
|
default |
|
inlineexplicit |
Definition at line 16 of file BackgroundType.hpp.
|
virtualdefault |
Reimplemented in tgbotxx::BackgroundTypeFill, tgbotxx::BackgroundTypeWallpaper, tgbotxx::BackgroundTypePattern, and tgbotxx::BackgroundTypeChatTheme.
Definition at line 30 of file BackgroundType.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::BackgroundTypeFill, tgbotxx::BackgroundTypeWallpaper, tgbotxx::BackgroundTypePattern, and tgbotxx::BackgroundTypeChatTheme.
Definition at line 24 of file BackgroundType.hpp.
| std::string tgbotxx::BackgroundType::type |
Type of the background, one of "fill", "wallpaper", "pattern", "chat_theme".
Definition at line 22 of file BackgroundType.hpp.