class Tourmaline::InlineQueryResultVenue
inherits Reference
#
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
Included modules
JSON::Serializable
Constructors#
.new(id, latitude, longitude, title, address, type = "venue", foursquare_id : String? = nil, foursquare_type : String? = nil, google_place_id : String? = nil, google_place_type : String? = nil, reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, input_message_content : Tourmaline::InputMessageContent? = nil, thumbnail_url : String? = nil, thumbnail_width : Int32 | Int64 | Nil = nil, thumbnail_height : Int32 | Int64 | Nil = nil)
#
(id, latitude, longitude, title, address, type = "venue", foursquare_id : String? = nil, foursquare_type : String? = nil, google_place_id : String? = nil, google_place_type : String? = nil, reply_markup : Tourmaline::InlineKeyboardMarkup? = nil, input_message_content : Tourmaline::InputMessageContent? = nil, thumbnail_url : String? = nil, thumbnail_width : Int32 | Int64 | Nil = nil, thumbnail_height : Int32 | Int64 | Nil = nil)
Methods#
#foursquare_id=(foursquare_id : String?)
#
(foursquare_id : String?)
Optional. Foursquare identifier of the venue if known
#foursquare_type : String?
#
: String?
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
#foursquare_type=(foursquare_type : String?)
#
(foursquare_type : String?)
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
#google_place_id=(google_place_id : String?)
#
(google_place_id : String?)
Optional. Google Places identifier of the venue
#google_place_type : String?
#
: String?
Optional. Google Places type of the venue. (See supported types.)
#google_place_type=(google_place_type : String?)
#
(google_place_type : String?)
Optional. Google Places type of the venue. (See supported types.)
#input_message_content : Tourmaline::InputMessageContent?
#
: Tourmaline::InputMessageContent?
Optional. Content of the message to be sent instead of the venue
#input_message_content=(input_message_content : Tourmaline::InputMessageContent?)
#
(input_message_content : Tourmaline::InputMessageContent?)
Optional. Content of the message to be sent instead of the venue
#reply_markup : Tourmaline::InlineKeyboardMarkup?
#
: Tourmaline::InlineKeyboardMarkup?
Optional. Inline keyboard attached to the message
#reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup?)
#
(reply_markup : Tourmaline::InlineKeyboardMarkup?)
Optional. Inline keyboard attached to the message
#thumbnail_url=(thumbnail_url : String?)
#
(thumbnail_url : String?)
Optional. Url of the thumbnail for the result