Struct rtdlib::types::DeleteChatHistory [−][src]
pub struct DeleteChatHistory { /* fields omitted */ }
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
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for DeleteChatHistory
impl Send for DeleteChatHistory
impl Sync for DeleteChatHistory
impl Unpin for DeleteChatHistory
impl UnwindSafe for DeleteChatHistory
Blanket Implementations
Mutably borrows from an owned value. Read more