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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def latitude : Float64 #

[View source]
def latitude=(latitude : Float64) #

[View source]
def live_period : String #

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


[View source]
def live_period=(live_period : String) #

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


[View source]
def longitude : Float64 #

[View source]
def longitude=(longitude : Float64) #

[View source]