Struct rust_tdlib::types::DeleteChatMessagesBySender
source · pub struct DeleteChatMessagesBySender { /* private fields */ }
Expand description
Deletes all messages sent by the specified message sender in a chat. Supported only for supergroups; requires can_delete_messages administrator privileges
Implementations§
Trait Implementations§
source§impl AsRef<DeleteChatMessagesBySender> for DeleteChatMessagesBySender
impl AsRef<DeleteChatMessagesBySender> for DeleteChatMessagesBySender
source§fn as_ref(&self) -> &DeleteChatMessagesBySender
fn as_ref(&self) -> &DeleteChatMessagesBySender
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DeleteChatMessagesBySender
impl Clone for DeleteChatMessagesBySender
source§fn clone(&self) -> DeleteChatMessagesBySender
fn clone(&self) -> DeleteChatMessagesBySender
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 DeleteChatMessagesBySender
impl Debug for DeleteChatMessagesBySender
source§impl Default for DeleteChatMessagesBySender
impl Default for DeleteChatMessagesBySender
source§fn default() -> DeleteChatMessagesBySender
fn default() -> DeleteChatMessagesBySender
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteChatMessagesBySender
impl<'de> Deserialize<'de> for DeleteChatMessagesBySender
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