Class: TD::Types::LocationAddress

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/location_address.rb

Overview

Describes an address of a location.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#cityTD::Types::String

City; empty if unknown.



8
9
10
# File 'lib/tdlib/types/location_address.rb', line 8

def city
  @city
end

#country_codeTD::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

#stateTD::Types::String

State, if applicable; empty if unknown.



8
9
10
# File 'lib/tdlib/types/location_address.rb', line 8

def state
  @state
end

#streetTD::Types::String

The address; empty if unknown.



8
9
10
# File 'lib/tdlib/types/location_address.rb', line 8

def street
  @street
end