Module twilight_validate::channel
source · [−]Expand description
Constants, error types, and functions for validating channel fields.
Structs
Returned when the channel can not be updated as configured.
Enums
Type of ChannelValidationError
that occurred.
Constants
Maximum length of a channel’s name.
Minimum length of a channel’s name.
Maximum length of a channel’s rate limit per user.
Maximum length of a channel’s topic.
Functions
Ensure a channel is a thread.
Ensure a channel’s name’s length is correct.
Ensure a channel’s rate limit per user is correct.
Ensure a channel’s topic’s length is correct.