struct

Telegram::InputLocationMessageContent

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputLocationMessageContent Represents the content of a location message to be sent as the result of an inline query.

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_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)
Source
heading
horizontal_accuracy
latitude
live_period
longitude
proximity_alert_radius