mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
25 lines
661 B
Rust
25 lines
661 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
use crate::types::Location;
|
|
|
|
/// This object represents a venue.
|
|
#[serde_with_macros::skip_serializing_none]
|
|
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
|
pub struct Venue {
|
|
/// Venue location.
|
|
pub location: Location,
|
|
|
|
/// Name of the venue.
|
|
pub title: String,
|
|
|
|
/// Address of the venue.
|
|
pub address: String,
|
|
|
|
/// Foursquare identifier of the venue.
|
|
pub foursquare_id: Option<String>,
|
|
|
|
/// Foursquare type of the venue. (For example,
|
|
/// `arts_entertainment/default`, `arts_entertainment/aquarium` or
|
|
/// `food/icecream`.)
|
|
pub foursquare_type: Option<String>,
|
|
}
|