Struct telegram_bot_raw_ars::requests::send_venue::SendVenue
source · pub struct SendVenue<'t, 'a, 'f> { /* private fields */ }
Expand description
Use this method to send information about a venue.
Implementations§
source§impl<'t, 'a, 'f> SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> SendVenue<'t, 'a, 'f>
pub fn new<C, T, A>(
chat: C,
latitude: Float,
longitude: Float,
title: T,
address: A
) -> Selfwhere
C: ToChatRef,
T: Into<Cow<'t, str>>,
A: Into<Cow<'a, str>>,
pub fn disable_notification(&mut self) -> &mut Self
pub fn foursquare_id<F>(&mut self, id: F) -> &mut Selfwhere
F: Into<Cow<'f, str>>,
pub fn reply_to<R>(&mut self, to: R) -> &mut Selfwhere
R: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut Selfwhere
R: Into<ReplyMarkup>,
Trait Implementations§
source§impl<'t, 'a, 'f> PartialEq<SendVenue<'t, 'a, 'f>> for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> PartialEq<SendVenue<'t, 'a, 'f>> for SendVenue<'t, 'a, 'f>
source§impl<'t, 'a, 'f> PartialOrd<SendVenue<'t, 'a, 'f>> for SendVenue<'t, 'a, 'f>
impl<'t, 'a, 'f> PartialOrd<SendVenue<'t, 'a, 'f>> for SendVenue<'t, 'a, 'f>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more