pub struct DeleteMessages<'a> { /* private fields */ }
Expand description
Delete messages by Id<ChannelMarker>
and a list of Id<MessageMarker>
s.
The number of message IDs must be between 2 and 100. If the supplied message IDs are invalid, they still count towards the lower and upper limits. This method will not delete messages older than two weeks. See Discord Docs/Bulk Delete Messages.
Trait Implementations§
source§impl<'a> AuditLogReason<'a> for DeleteMessages<'a>
impl<'a> AuditLogReason<'a> for DeleteMessages<'a>
source§impl IntoFuture for DeleteMessages<'_>
impl IntoFuture for DeleteMessages<'_>
source§type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
source§type IntoFuture = ResponseFuture<EmptyBody>
type IntoFuture = ResponseFuture<EmptyBody>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
source§impl TryIntoRequest for DeleteMessages<'_>
impl TryIntoRequest for DeleteMessages<'_>
Auto Trait Implementations§
impl<'a> Freeze for DeleteMessages<'a>
impl<'a> !RefUnwindSafe for DeleteMessages<'a>
impl<'a> Send for DeleteMessages<'a>
impl<'a> Sync for DeleteMessages<'a>
impl<'a> Unpin for DeleteMessages<'a>
impl<'a> !UnwindSafe for DeleteMessages<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more