pub struct SendVenue<'a> { /* private fields */ }
Expand description
Sends a venue.
Reflects the sendVenue
method.
Implementations§
source§impl<'a> SendVenue<'a>
impl<'a> SendVenue<'a>
sourcepub fn foursquare_id(self, id: impl Into<String>) -> Self
pub fn foursquare_id(self, id: impl Into<String>) -> Self
Configures the Foursquare ID of this venue.
Reflects the foursquare_id
parameter.
sourcepub fn foursquare_type(self, fs_type: impl Into<String>) -> Self
pub fn foursquare_type(self, fs_type: impl Into<String>) -> Self
Configures the Foursquare type of this venue.
Reflects the foursquare_type
parameter.
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 of this venue.
Reflects the google_place_id
parameter.
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 of this venue.
Reflects the google_place_type
parameter.
sourcepub const fn is_notification_disabled(self, is_disabled: bool) -> Self
pub const fn is_notification_disabled(self, is_disabled: bool) -> Self
Configures whether the message is sent silently.
Reflects the disable_notification
parameter.
sourcepub const fn in_reply_to(self, id: Id) -> Self
pub const fn in_reply_to(self, id: Id) -> Self
Configures which message this venue is sent in reply to.
Reflects the reply_to_message_id
parameter.
sourcepub const fn allow_sending_without_reply(self) -> Self
pub const fn allow_sending_without_reply(self) -> Self
Configures whether this message should be sent even
if the replied-to message is not found.
Reflects the allow_sending_without_reply
parameter.
sourcepub fn reply_markup(self, markup: impl Into<Any>) -> Self
pub fn reply_markup(self, markup: impl Into<Any>) -> Self
Configures a keyboard for the message.
Reflects the reply_markup
parameter.