Expand description
Constants, error types, and functions for validating channel fields.
Structs§
- Channel
Validation Error - Returned when the channel can not be updated as configured.
Enums§
- Channel
Validation Error Type - Type of
ChannelValidationError
that occurred.
Constants§
- CHANNEL_
BITRATE_ MIN - Minimum bitrate of a voice channel.
- CHANNEL_
BULK_ DELETE_ MESSAGES_ MAX - Maximum number of bulk messages that can be deleted.
- CHANNEL_
BULK_ DELETE_ MESSAGES_ MIN - Minimum number of bulk messages that can be deleted.
- CHANNEL_
FORUM_ TOPIC_ LENGTH_ MAX - Maximum length of a forum channel’s topic.
- CHANNEL_
NAME_ LENGTH_ MAX - Maximum length of a channel’s name.
- CHANNEL_
NAME_ LENGTH_ MIN - Minimum length of a channel’s name.
- CHANNEL_
RATE_ LIMIT_ PER_ USER_ MAX - Maximum length of a channel’s rate limit per user.
- CHANNEL_
THREAD_ GET_ MEMBERS_ LIMIT_ MAX - Maximum number of members that can be returned in a thread.
- CHANNEL_
THREAD_ GET_ MEMBERS_ LIMIT_ MIN - Minimum number of members that can be returned in a thread.
- CHANNEL_
TOPIC_ LENGTH_ MAX - Maximum length of a channel’s topic.
- CHANNEL_
USER_ LIMIT_ MAX - Maximum user limit of an audio channel.
Functions§
- bitrate
- Ensure a channel’s bitrate is collect.
- bulk_
delete_ messages - Ensure the number of messages to delete in bulk is correct.
- forum_
topic - Ensure a forum channel’s topic’s length is correct.
- is_
thread - Ensure a channel is a thread.
- name
- Ensure a channel’s name’s length is correct.
- rate_
limit_ per_ user - Ensure a channel’s rate limit per user is correct.
- thread_
member_ limit - Ensure the limit set for the number of thread members to return is correct.
- topic
- Ensure a channel’s topic’s length is correct.
- user_
limit - Ensure a channel’s user limit is correct.