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 duplicate 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 for StopMessageLiveLocation
impl PartialEq for StopMessageLiveLocation
Source§impl PartialOrd for StopMessageLiveLocation
impl PartialOrd for StopMessageLiveLocation
Source§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
impl StructuralPartialEq for StopMessageLiveLocation
Auto Trait Implementations§
impl Freeze for StopMessageLiveLocation
impl RefUnwindSafe for StopMessageLiveLocation
impl Send for StopMessageLiveLocation
impl Sync for StopMessageLiveLocation
impl Unpin for StopMessageLiveLocation
impl UnwindSafe for StopMessageLiveLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more