pub const fn mentions_role_id(
mentions_role_id: &[Id<RoleMarker>],
) -> Result<(), SearchGuildMessagesError>Expand description
Ensure that the amount of mention roles is correct.
ยงErrors
Returns an error of type MentionsRoleIdCount if the number of mention
roles is invalid.