Function twilight_validate::channel::user_limit
source · pub const fn user_limit(value: u16) -> Result<(), ChannelValidationError>
Expand description
Ensure a channel’s user limit is correct.
Must be at most 99.
§Errors
Returns an error of type UserLimitInvalid
if the user limit is invalid.