Package org.drinkless.tdlib
Class TdApi.LocationAddress
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LocationAddress
- Enclosing class:
- TdApi
Describes an address of a location.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCity; empty if unknown.static final intIdentifier uniquely determining type of the object.A two-letter ISO 3166-1 alpha-2 country code.State, if applicable; empty if unknown.The address; empty if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an address of a location.LocationAddress(String countryCode, String state, String city, String street) Describes an address of a location. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
countryCode
A two-letter ISO 3166-1 alpha-2 country code. -
state
State, if applicable; empty if unknown. -
city
City; empty if unknown. -
street
The address; empty if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LocationAddress
public LocationAddress()Describes an address of a location. -
LocationAddress
Describes an address of a location.- Parameters:
countryCode- A two-letter ISO 3166-1 alpha-2 country code.state- State, if applicable; empty if unknown.city- City; empty if unknown.street- The address; empty if unknown.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-