Struct tbot::methods::DeleteMessage
source · pub struct DeleteMessage<'a> { /* private fields */ }
Expand description
Deletes a message from a chat.
Reflects the deleteMessage
method.
Implementations§
source§impl DeleteMessage<'_>
impl DeleteMessage<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for DeleteMessage<'a>
impl<'a> Clone for DeleteMessage<'a>
source§fn clone(&self) -> DeleteMessage<'a>
fn clone(&self) -> DeleteMessage<'a>
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 more