|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Contains information about the start page settings of a Telegram Business account. https://core.telegram.org/bots/api#businessintro. More...
#include <BusinessIntro.hpp>
Public Member Functions | |
| BusinessIntro ()=default | |
| BusinessIntro (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::string | title |
| Optional. Title text of the business intro. | |
| std::string | message |
| Optional. Message text of the business intro. | |
| Ptr< Sticker > | sticker |
| Optional. Sticker of the business intro. | |
Contains information about the start page settings of a Telegram Business account. https://core.telegram.org/bots/api#businessintro.
Definition at line 8 of file BusinessIntro.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file BusinessIntro.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 35 of file BusinessIntro.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 26 of file BusinessIntro.hpp.
| std::string tgbotxx::BusinessIntro::message |
Optional. Message text of the business intro.
Definition at line 18 of file BusinessIntro.hpp.
Optional. Sticker of the business intro.
Definition at line 21 of file BusinessIntro.hpp.
| std::string tgbotxx::BusinessIntro::title |
Optional. Title text of the business intro.
Definition at line 15 of file BusinessIntro.hpp.