Struct rust_tdlib::types::EditMessageLiveLocation
source · pub struct EditMessageLiveLocation { /* private fields */ }
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
Implementations§
source§impl EditMessageLiveLocation
impl EditMessageLiveLocation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> EditMessageLiveLocationBuilder
pub fn chat_id(&self) -> i64
pub fn message_id(&self) -> i64
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn location(&self) -> &Location
pub fn heading(&self) -> i32
pub fn proximity_alert_radius(&self) -> i32
Trait Implementations§
source§impl AsRef<EditMessageLiveLocation> for EditMessageLiveLocation
impl AsRef<EditMessageLiveLocation> for EditMessageLiveLocation
source§fn as_ref(&self) -> &EditMessageLiveLocation
fn as_ref(&self) -> &EditMessageLiveLocation
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for EditMessageLiveLocation
impl Clone for EditMessageLiveLocation
source§fn clone(&self) -> EditMessageLiveLocation
fn clone(&self) -> EditMessageLiveLocation
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 EditMessageLiveLocation
impl Debug for EditMessageLiveLocation
source§impl Default for EditMessageLiveLocation
impl Default for EditMessageLiveLocation
source§fn default() -> EditMessageLiveLocation
fn default() -> EditMessageLiveLocation
Returns the “default value” for a type. Read more
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