Struct rust_tdlib::types::DeleteChat
source · pub struct DeleteChat { /* private fields */ }
Expand description
Deletes a chat along with all messages in the corresponding chat for all chat members; requires owner privileges. For group chats this will release the username and remove all members. Chats with more than 1000 members can’t be deleted using this method
Implementations§
Trait Implementations§
source§impl AsRef<DeleteChat> for DeleteChat
impl AsRef<DeleteChat> for DeleteChat
source§fn as_ref(&self) -> &DeleteChat
fn as_ref(&self) -> &DeleteChat
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for DeleteChat
impl Clone for DeleteChat
source§fn clone(&self) -> DeleteChat
fn clone(&self) -> DeleteChat
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 DeleteChat
impl Debug for DeleteChat
source§impl Default for DeleteChat
impl Default for DeleteChat
source§fn default() -> DeleteChat
fn default() -> DeleteChat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeleteChat
impl<'de> Deserialize<'de> for DeleteChat
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