pub struct InlineQueryResultVenue {
pub type_tl: String,
pub id: String,
pub latitude: f64,
pub longitude: f64,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
pub reply_markup: Option<Box<InlineKeyboardMarkup>>,
pub input_message_content: Option<Box<InputMessageContent>>,
pub thumb_url: Option<String>,
pub thumb_width: Option<i64>,
pub thumb_height: Option<i64>,
}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§
§type_tl: 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
reply_markup: Option<Box<InlineKeyboardMarkup>>Inline keyboard attached to the message See https://core.telegram.org/bots/api/bots#inline-keyboards-and-on-the-fly-updating
input_message_content: Option<Box<InputMessageContent>>Content of the message to be sent instead of the venue
thumb_url: Option<String>Url of the thumbnail for the result
thumb_width: Option<i64>Thumbnail width
thumb_height: Option<i64>Thumbnail height
Trait Implementations§
Source§impl Clone for InlineQueryResultVenue
impl Clone for InlineQueryResultVenue
Source§fn clone(&self) -> InlineQueryResultVenue
fn clone(&self) -> InlineQueryResultVenue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineQueryResultVenue
impl Debug for InlineQueryResultVenue
Source§impl<'de> Deserialize<'de> for InlineQueryResultVenue
impl<'de> Deserialize<'de> for InlineQueryResultVenue
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
Auto Trait Implementations§
impl Freeze for InlineQueryResultVenue
impl RefUnwindSafe for InlineQueryResultVenue
impl Send for InlineQueryResultVenue
impl Sync for InlineQueryResultVenue
impl Unpin for InlineQueryResultVenue
impl UnwindSafe for InlineQueryResultVenue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more