|
TDLib
|
Inherits Object.
Describes an address.
Public Member Functions | |
| address () | |
| address (string const &country_code_, string const &state_, string const &city_, string const &street_line1_, string const &street_line2_, string const &postal_code_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | city_ |
| City. | |
| string | country_code_ |
| A two-letter ISO 3166-1 alpha-2 country code. | |
| string | postal_code_ |
| Address postal code. | |
| string | state_ |
| State, if applicable. | |
| string | street_line1_ |
| First line of the address. | |
| string | street_line2_ |
| Second line of the address. | |
Static Public Attributes | |
| static const std::int32_t | ID = -2043654342 |
| Identifier uniquely determining a type of the object. | |
| address | ( | ) |
Describes an 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.
| [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. |
|
finalvirtual |