pub struct EditMessageLiveLocation {
pub chat_id: i64,
pub message_id: i64,
pub reply_markup: Option<ReplyMarkup>,
pub location: Option<Location>,
}Expand description
Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side
Fields§
§chat_id: i64The chat the message belongs to
message_id: i64Identifier of the message
reply_markup: Option<ReplyMarkup>The new message reply markup; for bots only
location: Option<Location>New location content of the message; may be null. Pass null to stop sharing the live location
Trait Implementations§
Source§impl Clone for EditMessageLiveLocation
impl Clone for EditMessageLiveLocation
Source§fn clone(&self) -> EditMessageLiveLocation
fn clone(&self) -> EditMessageLiveLocation
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 EditMessageLiveLocation
impl Debug for EditMessageLiveLocation
Source§impl<'de> Deserialize<'de> for EditMessageLiveLocation
impl<'de> Deserialize<'de> for EditMessageLiveLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for EditMessageLiveLocation
impl Method for EditMessageLiveLocation
Auto Trait Implementations§
impl Freeze for EditMessageLiveLocation
impl RefUnwindSafe for EditMessageLiveLocation
impl Send for EditMessageLiveLocation
impl Sync for EditMessageLiveLocation
impl Unpin for EditMessageLiveLocation
impl UnwindSafe for EditMessageLiveLocation
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