class TelegramBot::InputLocationMessageContent

Included Modules

Defined in:

telegram_bot/types/input_location_message_content.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(latitude : Float64, longitude : Float64, live_period : String = nil) #

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

Instance Method Detail

def latitude : Float64 #

def latitude=(latitude : Float64) #

def live_period : String #

Period in seconds for which the location can be updated, should be between 60 and 86400.


def live_period=(live_period : String) #

Period in seconds for which the location can be updated, should be between 60 and 86400.


def longitude : Float64 #

def longitude=(longitude : Float64) #