class Tourmaline::InlineQueryResultVenue
Defined in:
tourmaline/models/inline/inline_query_result_venue.crConstructors
- .new(id : String, latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : Nil | String = nil, foursquare_type : Nil | String = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, google_place_id : Nil | String = nil, google_place_type : Nil | String = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil, thumbnail_url : Nil | String = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #address : String
- #foursquare_id : String | Nil
- #foursquare_type : String | Nil
- #google_place_id : String | Nil
- #google_place_type : String | Nil
- #id : String
- #input_message_content : InputMessageContent | Nil
- #latitude : Float64
- #longitude : Float64
- #reply_markup : InlineKeyboardMarkup | Nil
- #thumbnail_height : Int32 | Nil
- #thumbnail_url : String | Nil
- #thumbnail_width : Int32 | Nil
- #title : String
- #type : String
Constructor methods inherited from class Tourmaline::InlineQueryResult
new(pull : JSON::PullParser)
new
Class methods inherited from class Tourmaline::InlineQueryResult
build(&)
build
Constructor Detail
def self.new(id : String, latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : Nil | String = nil, foursquare_type : Nil | String = nil, reply_markup : Nil | Tourmaline::InlineKeyboardMarkup = nil, google_place_id : Nil | String = nil, google_place_type : Nil | String = nil, input_message_content : Tourmaline::InputContactMessageContent | Tourmaline::InputInvoiceMessageContent | Tourmaline::InputLocationMessageContent | Tourmaline::InputTextMessageContent | Tourmaline::InputVenueMessageContent | Nil = nil, thumbnail_url : Nil | String = nil, thumbnail_width : Int32 | Nil = nil, thumbnail_height : Int32 | Nil = nil)
#