Telegram::Location
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: Location This object represents a point on the map.
Constructors
new(latitude : Float64, longitude : Float64, horizontal_accuracy : Float64 | Nil = nil, live_period : Int64 | Nil = nil, heading : Int64 | Nil = nil, proximity_alert_radius : Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(latitude _latitude = @latitude, longitude _longitude = @longitude, horizontal_accuracy _horizontal_accuracy = @horizontal_accuracy, live_period _live_period = @live_period, heading _heading = @heading, proximity_alert_radius _proximity_alert_radius = @proximity_alert_radius)
Sourceheading
horizontal_accuracy
latitude
live_period
longitude
proximity_alert_radius