class TelegramBot::InlineQueryResultLocation
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/inline/inline_query_result_location.crConstructors
- .new(id : String, latitude : Float64, longitude : Float64, title : String, *, live_period : Int32 | Nil = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #id : String
- #id=(id : String)
- #input_message_content : InputMessageContent | Nil
- #input_message_content=(input_message_content : InputMessageContent | Nil)
- #latitude : Float64
- #latitude=(latitude : Float64)
- #live_period : Int32 | Nil
- #live_period=(live_period : Int32 | Nil)
- #longitude : Float64
- #longitude=(longitude : Float64)
- #reply_markup : InlineKeyboardMarkup | Nil
- #reply_markup=(reply_markup : InlineKeyboardMarkup | Nil)
- #thumb_height : Int32 | Nil
- #thumb_height=(thumb_height : Int32 | Nil)
- #thumb_url : String | Nil
- #thumb_url=(thumb_url : String | Nil)
- #thumb_width : Int32 | Nil
- #thumb_width=(thumb_width : Int32 | Nil)
- #title : String
- #title=(title : String)
- #type : String
- #type=(type : String)
Constructor Detail
def self.new(id : String, latitude : Float64, longitude : Float64, title : String, *, live_period : Int32 | Nil = nil, reply_markup : Nil | TelegramBot::InlineKeyboardMarkup = nil, input_message_content : TelegramBot::InputMessageContent | Nil = nil, thumb_url : Nil | String = nil, thumb_width : Int32 | Nil = nil, thumb_height : Int32 | Nil = nil)
#