Struct telbot_types::message::Venue [−][src]
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: 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: StringGoogle Places type of the venue. (See supported types.)
Trait Implementations
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