Class TdApi.LocationAddress
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LocationAddress
- Enclosing class:
- TdApi
Describes an address of a location.
-
Field Summary
Modifier and TypeFieldDescriptionCity; empty if unknown.static final int
Identifier 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
ConstructorDescriptionDescribes an address of a location.LocationAddress
(String countryCode, String state, String city, String street) Describes an address of a location. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-