Struct rust_tdlib::types::DeleteChatHistory
source · pub struct DeleteChatHistory { /* private fields */ }
Expand description
Deletes all messages in the chat. Use chat.can_be_deleted_only_for_self and chat.can_be_deleted_for_all_users fields to find whether and how the method can be applied to the chat
Implementations§
Trait Implementations§
source§impl AsRef<DeleteChatHistory> for DeleteChatHistory
impl AsRef<DeleteChatHistory> for DeleteChatHistory
source§fn as_ref(&self) -> &DeleteChatHistory
fn as_ref(&self) -> &DeleteChatHistory
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DeleteChatHistory
impl Clone for DeleteChatHistory
source§fn clone(&self) -> DeleteChatHistory
fn clone(&self) -> DeleteChatHistory
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 DeleteChatHistory
impl Debug for DeleteChatHistory
source§impl Default for DeleteChatHistory
impl Default for DeleteChatHistory
source§fn default() -> DeleteChatHistory
fn default() -> DeleteChatHistory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteChatHistory
impl<'de> Deserialize<'de> for DeleteChatHistory
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