|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Represents a location to which a chat is connected. https://core.telegram.org/bots/api#chatlocation. More...
#include <ChatLocation.hpp>
Public Member Functions | |
| ChatLocation ()=default | |
| ChatLocation (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 | |
| Ptr< Location > | location |
| The location to which the supergroup is connected. Can't be a live location. | |
| std::string | address |
| Location address; 1-64 characters, as defined by the chat owner. | |
Represents a location to which a chat is connected. https://core.telegram.org/bots/api#chatlocation.
Definition at line 8 of file ChatLocation.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file ChatLocation.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file ChatLocation.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file ChatLocation.hpp.
| std::string tgbotxx::ChatLocation::address |
Location address; 1-64 characters, as defined by the chat owner.
Definition at line 18 of file ChatLocation.hpp.
The location to which the supergroup is connected. Can't be a live location.
Definition at line 15 of file ChatLocation.hpp.