class TelegramBot::InputMediaLocation

Included Modules

Defined in:

telegram_bot/types/input_media_location.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputMedia

to_json(json : JSON::Builder) to_json

Constructor Detail

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

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

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

Instance Method Detail

def horizontal_accuracy : Float64 | Nil #

def horizontal_accuracy=(horizontal_accuracy : Float64 | Nil) #

def latitude : Float64 #

def latitude=(latitude : Float64) #

def longitude : Float64 #

def longitude=(longitude : Float64) #

def type : String #

def type=(type : String) #