Struct twilight_http::request::channel::message::DeleteMessages
source · 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.
Implementations§
source§impl<'a> DeleteMessages<'a>
impl<'a> DeleteMessages<'a>
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<'_>
§type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
§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