|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The background is taken directly from a built-in chat theme. https://core.telegram.org/bots/api#backgroundtypechattheme. More...
#include <BackgroundType.hpp>
Public Member Functions | |
| BackgroundTypeChatTheme () | |
| BackgroundTypeChatTheme (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 | |
| std::string | themeName |
| Name of the chat theme, which is usually an emoji. | |
Public Attributes inherited from tgbotxx::BackgroundType | |
| std::string | type |
| Type of the background, one of "fill", "wallpaper", "pattern", "chat_theme". | |
The background is taken directly from a built-in chat theme. https://core.telegram.org/bots/api#backgroundtypechattheme.
Definition at line 157 of file BackgroundType.hpp.
|
inline |
Definition at line 158 of file BackgroundType.hpp.
|
inlineexplicit |
Definition at line 161 of file BackgroundType.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundType.
Definition at line 174 of file BackgroundType.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundType.
Definition at line 168 of file BackgroundType.hpp.
| std::string tgbotxx::BackgroundTypeChatTheme::themeName |
Name of the chat theme, which is usually an emoji.
Definition at line 166 of file BackgroundType.hpp.