tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object contains information about an incoming shipping query. https://core.telegram.org/bots/api#shippingquery. More...
#include <ShippingQuery.hpp>
Public Member Functions | |
ShippingQuery ()=default | |
ShippingQuery (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | id |
Unique query identifier. More... | |
Ptr< User > | from |
User who sent the query. More... | |
std::string | invoicePayload |
Bot specified invoice payload. More... | |
Ptr< ShippingAddress > | shippingAddress |
User specified shipping address. More... | |
This object contains information about an incoming shipping query. https://core.telegram.org/bots/api#shippingquery.
Definition at line 10 of file ShippingQuery.hpp.
|
default |
|
inlineexplicit |
Definition at line 12 of file ShippingQuery.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 40 of file ShippingQuery.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 30 of file ShippingQuery.hpp.
User who sent the query.
Definition at line 20 of file ShippingQuery.hpp.
std::string tgbotxx::ShippingQuery::id |
Unique query identifier.
Definition at line 17 of file ShippingQuery.hpp.
std::string tgbotxx::ShippingQuery::invoicePayload |
Bot specified invoice payload.
Definition at line 23 of file ShippingQuery.hpp.
Ptr<ShippingAddress> tgbotxx::ShippingQuery::shippingAddress |
User specified shipping address.
Definition at line 26 of file ShippingQuery.hpp.