pub struct StopMessageLiveLocation { /* private fields */ }
Expand description
Use this method to stop updating a live location message sent by the bot before live_period expires.
Implementations§
source§impl StopMessageLiveLocation
impl StopMessageLiveLocation
pub fn new<C, M>(chat: C, message_id: M) -> Selfwhere
C: ToChatRef,
M: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut Selfwhere
R: Into<ReplyMarkup>,
Trait Implementations§
source§impl Clone for StopMessageLiveLocation
impl Clone for StopMessageLiveLocation
source§fn clone(&self) -> StopMessageLiveLocation
fn clone(&self) -> StopMessageLiveLocation
Returns a copy 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 StopMessageLiveLocation
impl Debug for StopMessageLiveLocation
source§impl PartialEq<StopMessageLiveLocation> for StopMessageLiveLocation
impl PartialEq<StopMessageLiveLocation> for StopMessageLiveLocation
source§fn eq(&self, other: &StopMessageLiveLocation) -> bool
fn eq(&self, other: &StopMessageLiveLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StopMessageLiveLocation> for StopMessageLiveLocation
impl PartialOrd<StopMessageLiveLocation> for StopMessageLiveLocation
source§fn partial_cmp(&self, other: &StopMessageLiveLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &StopMessageLiveLocation) -> Option<Ordering>
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