twilight_validate::component

Constant SELECT_OPTION_VALUE_LENGTH

source
pub const SELECT_OPTION_VALUE_LENGTH: usize = 100;
Expand description

Maximum length of a SelectMenuOption::value in codepoints.

This is defined in Discord’s documentation, per Discord Docs/Select Menu Option.