class TelegramBot::InputLocationMessageContent

Included Modules

Defined in:

telegram_bot/types/input_location_message_content.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputMessageContent

to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(latitude : Float64, longitude : Float64, live_period : Int32 | Nil = nil) #

def self.new(latitude : Float64, longitude : Float64, *, horizontal_accuracy : Float64 | Nil = nil, live_period : Int32 | Nil = nil, heading : Int32 | Nil = nil, proximity_alert_radius : Int32 | Nil = nil) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def heading : Int32 | Nil #

def heading=(heading : Int32 | Nil) #

def horizontal_accuracy : Float64 | Nil #

def horizontal_accuracy=(horizontal_accuracy : Float64 | Nil) #

def latitude : Float64 #

def latitude=(latitude : Float64) #

def live_period : Int32 | Nil #

def live_period=(live_period : Int32 | Nil) #

def longitude : Float64 #

def longitude=(longitude : Float64) #

def proximity_alert_radius : Int32 | Nil #

def proximity_alert_radius=(proximity_alert_radius : Int32 | Nil) #