struct

Telegram::InlineQueryResultVenue

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InlineQueryResultVenue 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.

Constructors

new(type : String, id : String, latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : String | Nil = nil, foursquare_type : String | Nil = nil, google_place_id : String | Nil = nil, google_place_type : String | Nil = nil, reply_markup : InlineKeyboardMarkup | Nil = nil, input_message_content : InputMessageContent | Nil = nil, thumbnail_url : String | Nil = nil, thumbnail_width : Int64 | Nil = nil, thumbnail_height : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

address
clone
Source
copy_with(type _type = @type, id _id = @id, latitude _latitude = @latitude, longitude _longitude = @longitude, title _title = @title, address _address = @address, foursquare_id _foursquare_id = @foursquare_id, foursquare_type _foursquare_type = @foursquare_type, google_place_id _google_place_id = @google_place_id, google_place_type _google_place_type = @google_place_type, reply_markup _reply_markup = @reply_markup, input_message_content _input_message_content = @input_message_content, thumbnail_url _thumbnail_url = @thumbnail_url, thumbnail_width _thumbnail_width = @thumbnail_width, thumbnail_height _thumbnail_height = @thumbnail_height)
Source
foursquare_id
foursquare_type
google_place_id
google_place_type
id
input_message_content
latitude
longitude
reply_markup
thumbnail_height
thumbnail_url
thumbnail_width
title
type