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: Location

Venue location. Can’t be a live location

title: String

Name of the venue

address: String

Address 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: String

Google Places type of the venue. (See supported types.)

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.