Constructor DiscordRoleSelectComponent
- Namespace
 - DSharpPlus.Entities
 
- Assembly
 - DSharpPlus.dll
 
DiscordRoleSelectComponent(string, string, bool, int, int)
Creates a new role select component.
public DiscordRoleSelectComponent(string customId, string placeholder, bool disabled = false, int minOptions = 1, int maxOptions = 1)
Parameters
customIdstringThe ID of this component.
placeholderstringPlaceholder text that's shown when no options are selected.
disabledboolWhether this component is disabled.
minOptionsintThe minimum amount of options to be selected.
maxOptionsintThe maximum amount of options to be selected, up to 25.