tgbot-cpp
Loading...
Searching...
No Matches
TgBot::LocationAddress Struct Reference

Describes the physical address of a location. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<LocationAddress>

Public Attributes

std::string countryCode { }
 The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.
std::optional< std::string > state { }
 Optional. State of the location.
std::optional< std::string > city { }
 Optional. City of the location.
std::optional< std::string > street { }
 Optional. Street address of the location.

Detailed Description

Describes the physical address of a location.

Definition at line 8662 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::LocationAddress::Ptr = std::shared_ptr<LocationAddress>

Definition at line 8663 of file Types.h.

Member Data Documentation

◆ city

std::optional<std::string> TgBot::LocationAddress::city { }

Optional. City of the location.

Definition at line 8679 of file Types.h.

◆ countryCode

std::string TgBot::LocationAddress::countryCode { }

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.

Definition at line 8669 of file Types.h.

◆ state

std::optional<std::string> TgBot::LocationAddress::state { }

Optional. State of the location.

Definition at line 8674 of file Types.h.

◆ street

std::optional<std::string> TgBot::LocationAddress::street { }

Optional. Street address of the location.

Definition at line 8684 of file Types.h.


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