tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::address Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::address:
td::td_api::Object td::TlObject

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 td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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 Public Attributes

static const std::int32_t ID = -2043654342
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes an address.

Definition at line 671 of file td_api.h.

Constructor & Destructor Documentation

◆ address() [1/2]

td::td_api::address::address ( )

Describes an 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.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ city_

string td::td_api::address::city_

City.

Definition at line 686 of file td_api.h.

◆ country_code_

string td::td_api::address::country_code_

A two-letter ISO 3166-1 alpha-2 country code.

Definition at line 682 of file td_api.h.

◆ ID

const std::int32_t td::td_api::address::ID = -2043654342
static

Identifier uniquely determining a type of the object.

Definition at line 712 of file td_api.h.

◆ postal_code_

string td::td_api::address::postal_code_

Address postal code.

Definition at line 692 of file td_api.h.

◆ state_

string td::td_api::address::state_

State, if applicable.

Definition at line 684 of file td_api.h.

◆ street_line1_

string td::td_api::address::street_line1_

First line of the address.

Definition at line 688 of file td_api.h.

◆ street_line2_

string td::td_api::address::street_line2_

Second line of the address.

Definition at line 690 of file td_api.h.


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