struct

Telegram::LocationAddress

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: LocationAddress Describes the physical address of a location.

Constructors

new(country_code : String, state : String | Nil = nil, city : String | Nil = nil, street : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city
clone
Source
copy_with(country_code _country_code = @country_code, state _state = @state, city _city = @city, street _street = @street)
Source
country_code
state
street