|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
The background is a freeform gradient that rotates after every message in the chat. https://core.telegram.org/bots/api#backgroundfillfreeformgradient. More...
#include <BackgroundFill.hpp>
Public Member Functions | |
| BackgroundFillFreeformGradient () | |
| BackgroundFillFreeformGradient (const nl::json &json) | |
| nl::json | toJson () const override |
| void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::BackgroundFill | |
| BackgroundFill ()=default | |
| BackgroundFill (const nl::json &json) | |
| virtual | ~BackgroundFill ()=default |
Public Attributes | |
| std::vector< std::int32_t > | colors |
| A list of 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format. | |
Public Attributes inherited from tgbotxx::BackgroundFill | |
| std::string | type |
| Type of the background fill, one of "solid", "gradient", "freeform_gradient". | |
The background is a freeform gradient that rotates after every message in the chat. https://core.telegram.org/bots/api#backgroundfillfreeformgradient.
Definition at line 99 of file BackgroundFill.hpp.
|
inline |
Definition at line 100 of file BackgroundFill.hpp.
|
inlineexplicit |
Definition at line 103 of file BackgroundFill.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundFill.
Definition at line 116 of file BackgroundFill.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::BackgroundFill.
Definition at line 110 of file BackgroundFill.hpp.
| std::vector<std::int32_t> tgbotxx::BackgroundFillFreeformGradient::colors |
A list of 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format.
Definition at line 108 of file BackgroundFill.hpp.