tgbot-cpp
Loading...
Searching...
No Matches
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.
 
std::string state
 State, if applicable.
 
std::string city
 City.
 
std::string streetLine1
 First line for the address.
 
std::string streetLine2
 Second line for the address.
 
std::string postCode
 

Detailed Description

This object represents a shipping address.

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

Definition at line 16 of file ShippingAddress.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 18 of file ShippingAddress.h.

Member Data Documentation

◆ city

std::string TgBot::ShippingAddress::city

City.

Definition at line 33 of file ShippingAddress.h.

◆ countryCode

std::string TgBot::ShippingAddress::countryCode

ISO 3166-1 alpha-2 country code.

Definition at line 23 of file ShippingAddress.h.

◆ postCode

std::string TgBot::ShippingAddress::postCode

Address post code.

Definition at line 48 of file ShippingAddress.h.

◆ state

std::string TgBot::ShippingAddress::state

State, if applicable.

Definition at line 28 of file ShippingAddress.h.

◆ streetLine1

std::string TgBot::ShippingAddress::streetLine1

First line for the address.

Definition at line 38 of file ShippingAddress.h.

◆ streetLine2

std::string TgBot::ShippingAddress::streetLine2

Second line for the address.

Definition at line 43 of file ShippingAddress.h.


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