pub struct InlineQueryResultVenue {Show 16 fields
pub kind: String,
pub id: String,
pub latitude: f64,
pub longitude: f64,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
pub foursquare_type: Option<String>,
pub google_place_id: Option<String>,
pub google_place_type: Option<String>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContentUnion>,
pub thumbnail_url: Option<String>,
pub thumbnail_width: Option<i64>,
pub thumbnail_height: Option<i64>,
pub extra: BTreeMap<String, Value>,
}Expand description
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.
Fields§
§kind: StringType of the result, must be venue
id: StringUnique identifier for this result, 1-64 Bytes
latitude: f64Latitude of the venue location in degrees
longitude: f64Longitude of the venue location in degrees
title: StringTitle of the venue
address: StringAddress of the venue
foursquare_id: Option<String>Foursquare identifier of the venue if known
foursquare_type: Option<String>Foursquare type of the venue, if known. (For example, ‘arts_entertainment/default’, ‘arts_entertainment/aquarium’ or ‘food/icecream’.)
google_place_id: Option<String>Google Places identifier of the venue
google_place_type: Option<String>Google Places type of the venue. (See supported types.)
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message
input_message_content: Option<InputMessageContentUnion>Content of the message to be sent instead of the venue
thumbnail_url: Option<String>Url of the thumbnail for the result
thumbnail_width: Option<i64>Thumbnail width
thumbnail_height: Option<i64>Thumbnail height
extra: BTreeMap<String, Value>