Class: TD::Types::LocationAddress
- Defined in:
- lib/tdlib/types/location_address.rb
Overview
Describes an address of a location.
Instance Attribute Summary collapse
-
#city ⇒ TD::Types::String
City; empty if unknown.
-
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code.
-
#state ⇒ TD::Types::String
State, if applicable; empty if unknown.
-
#street ⇒ TD::Types::String
The address; empty if unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#city ⇒ TD::Types::String
City; empty if unknown.
8 9 10 |
# File 'lib/tdlib/types/location_address.rb', line 8 def city @city end |
#country_code ⇒ TD::Types::String
A two-letter ISO 3166-1 alpha-2 country code.
8 9 10 |
# File 'lib/tdlib/types/location_address.rb', line 8 def country_code @country_code end |
#state ⇒ TD::Types::String
State, if applicable; empty if unknown.
8 9 10 |
# File 'lib/tdlib/types/location_address.rb', line 8 def state @state end |
#street ⇒ TD::Types::String
The address; empty if unknown.
8 9 10 |
# File 'lib/tdlib/types/location_address.rb', line 8 def street @street end |