tgbot-cpp
|
This object represents information about an order. More...
#include <OrderInfo.h>
Public Types | |
typedef std::shared_ptr< OrderInfo > | Ptr |
Public Attributes | |
std::string | name |
Optional. User name. | |
std::string | phoneNumber |
Optional. User's phone number. | |
std::string | |
Optional. User email. | |
ShippingAddress::Ptr | shippingAddress |
Optional. User shipping address. | |
This object represents information about an order.
https://core.telegram.org/bots/api#orderinfo
Definition at line 18 of file OrderInfo.h.
typedef std::shared_ptr<OrderInfo> TgBot::OrderInfo::Ptr |
Definition at line 20 of file OrderInfo.h.
std::string TgBot::OrderInfo::email |
Optional. User email.
Definition at line 35 of file OrderInfo.h.
std::string TgBot::OrderInfo::name |
Optional. User name.
Definition at line 25 of file OrderInfo.h.
std::string TgBot::OrderInfo::phoneNumber |
Optional. User's phone number.
Definition at line 30 of file OrderInfo.h.
ShippingAddress::Ptr TgBot::OrderInfo::shippingAddress |
Optional. User shipping address.
Definition at line 40 of file OrderInfo.h.