Skip to main content

attachment_filename

Function attachment_filename 

Source
pub fn attachment_filename(
    attachment_filename: &[&str],
) -> Result<(), SearchGuildMessagesError>
Expand description

Ensure a list of attachment filenames is correct.

ยงErrors

Returns an error of type AttachmentFilenameCount if the number of attachment filename entries is invalid.

Returns an error of type AttachmentFilenameEntryLength if one of the attachment filename entries has an invalid length.