pub const fn auto_moderation_metadata_mention_total_limit(
limit: u8,
) -> Result<(), ValidationError>
Expand description
Ensure that an auto moderation rule’s mention_total_limit
is correct.
The length must be at most AUTO_MODERATION_METADATA_MENTION_TOTAL_LIMIT
.
This is based on this documentation entry.
§Errors
Returns an error of type AutoModerationMetadataMentionTotalLimit
if the
length is invalid.