pub struct Venue { /* private fields */ }
Expand description
Represents an InlineQueryResultVenue
.
Implementations§
source§impl Venue
impl Venue
sourcepub fn new(
title: impl Into<String>,
(latitude, longitude): (f64, f64),
address: impl Into<String>
) -> Self
pub fn new(
title: impl Into<String>,
(latitude, longitude): (f64, f64),
address: impl Into<String>
) -> Self
Constructs a Venue
.
sourcepub fn foursquare_id(self, id: impl Into<String>) -> Self
pub fn foursquare_id(self, id: impl Into<String>) -> Self
Configures the Foursquare ID.
sourcepub fn foursquare_type(self, foursquare_type: impl Into<String>) -> Self
pub fn foursquare_type(self, foursquare_type: impl Into<String>) -> Self
Configures the Foursquare type.
sourcepub fn google_place_id(self, id: impl Into<String>) -> Self
pub fn google_place_id(self, id: impl Into<String>) -> Self
Configures the Google Places ID.
sourcepub fn google_place_type(self, google_place_type: impl Into<String>) -> Self
pub fn google_place_type(self, google_place_type: impl Into<String>) -> Self
Configures the Google Places type.
sourcepub fn input_message_content(
self,
content: impl Into<InputMessageContent>
) -> Self
pub fn input_message_content(
self,
content: impl Into<InputMessageContent>
) -> Self
Configures the content shown after sending the message.