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.
Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Constructors
new(id :
String, latitude :
Float64, longitude :
Float64, title :
String, address :
String, type :
String = "venue", foursquare_id :
String |
Nil = nil, foursquare_type :
String |
Nil = nil, google_place_id :
String |
Nil = nil, google_place_type :
String |
Nil = nil, reply_markup :
Tourmaline::InlineKeyboardMarkup |
Nil = nil, input_message_content :
Tourmaline::InputMessageContent |
Nil = nil, thumbnail_url :
String |
Nil = nil, thumbnail_width :
Int32 |
Int64 |
Nil = nil, thumbnail_height :
Int32 |
Int64 |
Nil = nil)
SourceInstance methods
foursquare_id
Optional. Foursquare identifier of the venue if known
Sourcefoursquare_id=(foursquare_id :
String |
Nil)
Optional. Foursquare identifier of the venue if known
Sourcefoursquare_type
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
Sourcefoursquare_type=(foursquare_type :
String |
Nil)
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
Sourcegoogle_place_id
Optional. Google Places identifier of the venue
Sourcegoogle_place_id=(google_place_id :
String |
Nil)
Optional. Google Places identifier of the venue
Sourcegoogle_place_type
Optional. Google Places type of the venue. (See supported types.)
Sourcegoogle_place_type=(google_place_type :
String |
Nil)
Optional. Google Places type of the venue. (See supported types.)
Sourceid
Unique identifier for this result, 1-64 Bytes
SourceUnique identifier for this result, 1-64 Bytes
Sourceinput_message_content
Optional. Content of the message to be sent instead of the venue
SourceOptional. Content of the message to be sent instead of the venue
Sourcelatitude
Latitude of the venue location in degrees
SourceLatitude of the venue location in degrees
Sourcelongitude
Longitude of the venue location in degrees
SourceLongitude of the venue location in degrees
Sourcereply_markup
Optional. Inline keyboard attached to the message
SourceOptional. Inline keyboard attached to the message
Sourcethumbnail_height
Optional. Thumbnail height
Sourcethumbnail_height=(thumbnail_height :
Int32 |
Int64 |
Nil)
Optional. Thumbnail height
Sourcethumbnail_url
Optional. Url of the thumbnail for the result
Sourcethumbnail_url=(thumbnail_url :
String |
Nil)
Optional. Url of the thumbnail for the result
Sourcethumbnail_width
Optional. Thumbnail width
Sourcethumbnail_width=(thumbnail_width :
Int32 |
Int64 |
Nil)
Optional. Thumbnail width
Sourcetype
Type of the result, must be venue
SourceType of the result, must be venue
Source