Struct botapi::gen_methods::CallSendVenue
source · pub struct CallSendVenue<'a> { /* private fields */ }
Implementations§
source§impl<'a> CallSendVenue<'a>
impl<'a> CallSendVenue<'a>
sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
sourcepub fn message_thread_id(self, message_thread_id: i64) -> Self
pub fn message_thread_id(self, message_thread_id: i64) -> Self
Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
sourcepub fn foursquare_id(self, foursquare_id: &'a str) -> Self
pub fn foursquare_id(self, foursquare_id: &'a str) -> Self
Foursquare identifier of the venue
sourcepub fn foursquare_type(self, foursquare_type: &'a str) -> Self
pub fn foursquare_type(self, foursquare_type: &'a str) -> Self
Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
sourcepub fn google_place_id(self, google_place_id: &'a str) -> Self
pub fn google_place_id(self, google_place_id: &'a str) -> Self
Google Places identifier of the venue
sourcepub fn google_place_type(self, google_place_type: &'a str) -> Self
pub fn google_place_type(self, google_place_type: &'a str) -> Self
Google Places type of the venue. (See supported types.)
sourcepub fn disable_notification(self, disable_notification: bool) -> Self
pub fn disable_notification(self, disable_notification: bool) -> Self
Sends the message silently. Users will receive a notification with no sound.
sourcepub fn protect_content(self, protect_content: bool) -> Self
pub fn protect_content(self, protect_content: bool) -> Self
Protects the contents of the sent message from forwarding and saving
sourcepub fn reply_to_message_id(self, reply_to_message_id: i64) -> Self
pub fn reply_to_message_id(self, reply_to_message_id: i64) -> Self
If the message is a reply, ID of the original message
sourcepub fn allow_sending_without_reply(
self,
allow_sending_without_reply: bool
) -> Self
pub fn allow_sending_without_reply( self, allow_sending_without_reply: bool ) -> Self
Pass True if the message should be sent even if the specified replied-to message is not found
sourcepub fn reply_markup(self, reply_markup: &'a EReplyMarkup) -> Self
pub fn reply_markup(self, reply_markup: &'a EReplyMarkup) -> Self
Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.