tgbot-cpp
Loading...
Searching...
No Matches
TgBot::OrderInfo Class Reference

This object represents information about an order. More...

#include <OrderInfo.h>

Public Types

typedef std::shared_ptr< OrderInfoPtr
 

Public Attributes

std::string name
 Optional. User name.
 
std::string phoneNumber
 Optional. User's phone number.
 
std::string email
 Optional. User email.
 
ShippingAddress::Ptr shippingAddress
 Optional. User shipping address.
 

Detailed Description

This object represents information about an order.

https://core.telegram.org/bots/api#orderinfo

Definition at line 18 of file OrderInfo.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<OrderInfo> TgBot::OrderInfo::Ptr

Definition at line 20 of file OrderInfo.h.

Member Data Documentation

◆ email

std::string TgBot::OrderInfo::email

Optional. User email.

Definition at line 35 of file OrderInfo.h.

◆ name

std::string TgBot::OrderInfo::name

Optional. User name.

Definition at line 25 of file OrderInfo.h.

◆ phoneNumber

std::string TgBot::OrderInfo::phoneNumber

Optional. User's phone number.

Definition at line 30 of file OrderInfo.h.

◆ shippingAddress

ShippingAddress::Ptr TgBot::OrderInfo::shippingAddress

Optional. User shipping address.

Definition at line 40 of file OrderInfo.h.


The documentation for this class was generated from the following file: