|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
This object describes the way a background is filled based on the selected colors. It can be one of: More...
#include <BackgroundFill.hpp>
Public Member Functions | |
| BackgroundFill ()=default | |
| BackgroundFill (const nl::json &json) | |
| virtual | ~BackgroundFill ()=default |
| virtual nl::json | toJson () const |
| virtual void | fromJson (const nl::json &json) |
Public Attributes | |
| std::string | type |
| Type of the background fill, one of "solid", "gradient", "freeform_gradient". | |
This object describes the way a background is filled based on the selected colors. It can be one of:
Definition at line 11 of file BackgroundFill.hpp.
|
default |
|
inlineexplicit |
Definition at line 13 of file BackgroundFill.hpp.
|
virtualdefault |
Reimplemented in tgbotxx::BackgroundFillSolid, tgbotxx::BackgroundFillGradient, and tgbotxx::BackgroundFillFreeformGradient.
Definition at line 27 of file BackgroundFill.hpp.
|
inlinevirtual |
Reimplemented in tgbotxx::BackgroundFillSolid, tgbotxx::BackgroundFillGradient, and tgbotxx::BackgroundFillFreeformGradient.
Definition at line 21 of file BackgroundFill.hpp.
| std::string tgbotxx::BackgroundFill::type |
Type of the background fill, one of "solid", "gradient", "freeform_gradient".
Definition at line 19 of file BackgroundFill.hpp.