class TelegramBot::InlineQueryResultLocation

Defined in:

telegram_bot/types/inline/inline_query_result_location.cr

Constant Summary

FIELDS = {type: {type: String, mustbe: "location"}, id: String, latitude: Float64, longitude: Float64, title: String, live_period: {type: Int32, nilable: true}, reply_markup: {type: InlineKeyboardMarkup, nilable: true}, input_message_content: {type: InputMessageContent, nilable: true}, thumb_url: {type: String, nilable: true}, thumb_width: {type: Int32, nilable: true}, thumb_height: {type: Int32, nilable: true}}

Constructors

Constructor Detail

def self.new(id : String, latitude : Float64, longitude : Float64, title : String, live_period : Int32 | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil, thumb_url : String | Nil = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil) #

[View source]