tgbot-cpp
TgBot::ShippingAddress Class Reference

This object represents a shipping address. More...

#include <ShippingAddress.h>

Public Types

typedef std::shared_ptr< ShippingAddressPtr
 

Public Attributes

std::string countryCode
 ISO 3166-1 alpha-2 country code. More...
 
std::string state
 State, if applicable. More...
 
std::string city
 City. More...
 
std::string streetLine1
 First line for the address. More...
 
std::string streetLine2
 Second line for the address. More...
 
std::string postCode
 

Detailed Description

This object represents a shipping address.

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

Definition at line 39 of file ShippingAddress.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 41 of file ShippingAddress.h.

Member Data Documentation

◆ city

std::string TgBot::ShippingAddress::city

City.

Definition at line 56 of file ShippingAddress.h.

◆ countryCode

std::string TgBot::ShippingAddress::countryCode

ISO 3166-1 alpha-2 country code.

Definition at line 46 of file ShippingAddress.h.

◆ postCode

std::string TgBot::ShippingAddress::postCode

Address post code.

Definition at line 71 of file ShippingAddress.h.

◆ state

std::string TgBot::ShippingAddress::state

State, if applicable.

Definition at line 51 of file ShippingAddress.h.

◆ streetLine1

std::string TgBot::ShippingAddress::streetLine1

First line for the address.

Definition at line 61 of file ShippingAddress.h.

◆ streetLine2

std::string TgBot::ShippingAddress::streetLine2

Second line for the address.

Definition at line 66 of file ShippingAddress.h.


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