pub struct StopMessageLiveLocationInline {
pub inline_message_id: String,
pub latitude: f64,
pub longitude: f64,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Use this method to edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to StopMessageLiveLocation. On success, True is returned.
See also: StopMessageLiveLocation
Fields
inline_message_id: StringIdentifier of the inline message
latitude: f64Latitude of new location
longitude: f64Longitude of new location
reply_markup: Option<ReplyMarkup>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.
Implementations
Trait Implementations
sourceimpl Clone for StopMessageLiveLocationInline
impl Clone for StopMessageLiveLocationInline
sourcefn clone(&self) -> StopMessageLiveLocationInlineⓘNotable traits for StopMessageLiveLocationInlineimpl Payload for StopMessageLiveLocationInline type Output = Message;
fn clone(&self) -> StopMessageLiveLocationInlineⓘNotable traits for StopMessageLiveLocationInlineimpl Payload for StopMessageLiveLocationInline type Output = Message;
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StopMessageLiveLocationInline
impl Debug for StopMessageLiveLocationInline
sourceimpl PartialEq<StopMessageLiveLocationInline> for StopMessageLiveLocationInline
impl PartialEq<StopMessageLiveLocationInline> for StopMessageLiveLocationInline
sourcefn eq(&self, other: &StopMessageLiveLocationInline) -> bool
fn eq(&self, other: &StopMessageLiveLocationInline) -> bool
sourceimpl Payload for StopMessageLiveLocationInline
impl Payload for StopMessageLiveLocationInline
sourcefn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates with
big timeout), the minimum timeout that should be used. Read moreimpl StructuralPartialEq for StopMessageLiveLocationInline
Auto Trait Implementations
impl RefUnwindSafe for StopMessageLiveLocationInline
impl Send for StopMessageLiveLocationInline
impl Sync for StopMessageLiveLocationInline
impl Unpin for StopMessageLiveLocationInline
impl UnwindSafe for StopMessageLiveLocationInline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
