|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Contains information about the location of a Telegram Business account. https://core.telegram.org/bots/api#businesslocation. More...
#include <BusinessLocation.hpp>
Public Member Functions | |
| BusinessLocation ()=default | |
| BusinessLocation (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 | address |
| Address of the business. | |
| Ptr< Location > | location |
| Optional. Location of the business. | |
Contains information about the location of a Telegram Business account. https://core.telegram.org/bots/api#businesslocation.
Definition at line 8 of file BusinessLocation.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file BusinessLocation.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file BusinessLocation.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file BusinessLocation.hpp.
| std::string tgbotxx::BusinessLocation::address |
Address of the business.
Definition at line 15 of file BusinessLocation.hpp.
Optional. Location of the business.
Definition at line 18 of file BusinessLocation.hpp.