Function twilight_validate::channel::forum_topic
source · pub fn forum_topic(value: impl AsRef<str>) -> Result<(), ChannelValidationError>
Expand description
Ensure a forum channel’s topic’s length is correct.
Errors
Returns an error of type TopicInvalid
if the
topic is invalid.