Struct telegram_bot_ars::types::requests::StopMessageLiveLocation
source · 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) -> StopMessageLiveLocationwhere
C: ToChatRef,
M: ToMessageId,
pub fn reply_markup<R>(
&mut self,
reply_markup: R
) -> &mut StopMessageLiveLocationwhere
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
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 moresource§impl Request for StopMessageLiveLocation
impl Request for StopMessageLiveLocation
type Type = JsonRequestType<StopMessageLiveLocation>
type Response = JsonIdResponse<Message>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
source§impl Serialize for StopMessageLiveLocation
impl Serialize for StopMessageLiveLocation
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more