Struct telegram_bot2::models::Venue
source · pub struct Venue {
pub location: Location,
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>,
}Expand description
This object represents a venue.
Fields§
§location: LocationVenue location. Can’t be a live location
title: StringName of the venue
address: StringAddress of the venue
foursquare_id: Option<String>Foursquare identifier of the venue
foursquare_type: Option<String>Foursquare type of the venue. (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.)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more