|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object describes the colors of the backdrop of a unique gift. https://core.telegram.org/bots/api#uniquegiftbackdropcolors. More...
#include <UniqueGiftBackdropColors.hpp>
Public Member Functions | |
| UniqueGiftBackdropColors ()=default | |
| UniqueGiftBackdropColors (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::int32_t | centerColor {} |
| The color in the center of the backdrop in RGB format. | |
| std::int32_t | edgeColor {} |
| The color on the edges of the backdrop in RGB format. | |
| std::int32_t | symbolColor {} |
| The color to be applied to the symbol in RGB format. | |
| std::int32_t | textColor {} |
| The color for the text on the backdrop in RGB format. | |
This object describes the colors of the backdrop of a unique gift. https://core.telegram.org/bots/api#uniquegiftbackdropcolors.
Definition at line 8 of file UniqueGiftBackdropColors.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file UniqueGiftBackdropColors.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 37 of file UniqueGiftBackdropColors.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 27 of file UniqueGiftBackdropColors.hpp.
| std::int32_t tgbotxx::UniqueGiftBackdropColors::centerColor {} |
The color in the center of the backdrop in RGB format.
Definition at line 15 of file UniqueGiftBackdropColors.hpp.
| std::int32_t tgbotxx::UniqueGiftBackdropColors::edgeColor {} |
The color on the edges of the backdrop in RGB format.
Definition at line 18 of file UniqueGiftBackdropColors.hpp.
| std::int32_t tgbotxx::UniqueGiftBackdropColors::symbolColor {} |
The color to be applied to the symbol in RGB format.
Definition at line 21 of file UniqueGiftBackdropColors.hpp.
| std::int32_t tgbotxx::UniqueGiftBackdropColors::textColor {} |
The color for the text on the backdrop in RGB format.
Definition at line 24 of file UniqueGiftBackdropColors.hpp.