class TelegramBot::InputLocationMessageContent
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/input_location_message_content.crConstructors
- .new(latitude : Float64, longitude : Float64, live_period : String = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #latitude : Float64
- #latitude=(latitude : Float64)
-
#live_period : String
Period in seconds for which the location can be updated, should be between 60 and 86400.
-
#live_period=(live_period : String)
Period in seconds for which the location can be updated, should be between 60 and 86400.
- #longitude : Float64
- #longitude=(longitude : Float64)
Constructor Detail
Instance Method Detail
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.