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: String
Identifier of the inline message
latitude: f64
Latitude of new location
longitude: f64
Longitude 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§
source§impl PartialEq<StopMessageLiveLocationInline> for StopMessageLiveLocationInline
impl PartialEq<StopMessageLiveLocationInline> for StopMessageLiveLocationInline
source§fn eq(&self, other: &StopMessageLiveLocationInline) -> bool
fn eq(&self, other: &StopMessageLiveLocationInline) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for StopMessageLiveLocationInline
impl Payload for StopMessageLiveLocationInline
source§fn 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.