Inherits td::td_api::Object.
|
string | country_code_ |
| A two-letter ISO 3166-1 alpha-2 country code.
|
|
string | state_ |
| State, if applicable.
|
|
string | city_ |
| City.
|
|
string | street_line1_ |
| First line of the address.
|
|
string | street_line2_ |
| Second line of the address.
|
|
string | postal_code_ |
| Address postal code.
|
|
|
static const std::int32_t | ID = -2043654342 |
| Identifier uniquely determining a type of the object.
|
|
◆ address() [1/2]
td::td_api::address::address |
( |
| ) |
|
◆ address() [2/2]
td::td_api::address::address |
( |
string const & |
country_code_, |
|
|
string const & |
state_, |
|
|
string const & |
city_, |
|
|
string const & |
street_line1_, |
|
|
string const & |
street_line2_, |
|
|
string const & |
postal_code_ |
|
) |
| |
Describes an address.
- Parameters
-
[in] | country_code_ | A two-letter ISO 3166-1 alpha-2 country code. |
[in] | state_ | State, if applicable. |
[in] | city_ | City. |
[in] | street_line1_ | First line of the address. |
[in] | street_line2_ | Second line of the address. |
[in] | postal_code_ | Address postal code. |
◆ get_id()
std::int32_t td::td_api::address::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::address::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: