twilight_validate::channel

Function bulk_delete_messages

source
pub const fn bulk_delete_messages(
    message_count: usize,
) -> Result<(), ChannelValidationError>
Expand description

Ensure the number of messages to delete in bulk is correct.

ยงErrors

Returns an error of type BulkDeleteMessagesInvalid if the number of messages to delete in bulk is invalid.