RoleSelectMenuComponent

export class RoleSelectMenuComponent extends BaseSelectMenuComponent<APIRoleSelectComponent>
export class RoleSelectMenuComponent extends BaseSelectMenuComponent<APIRoleSelectComponent>
Represents a role select menu component
Readonly
customId:string
The custom id of this select menu
Inherited from BaseSelectMenuComponent
Readonly
data:Readonly<T>
The API data associated with this component
Inherited from Component
Readonly
disabled:boolean
Whether this select menu is disabled
Inherited from BaseSelectMenuComponent
Readonly
maxValues:number | null
The maximum amount of options that can be selected
Inherited from BaseSelectMenuComponent
Readonly
minValues:number | null
The minimum amount of options that must be selected
Inherited from BaseSelectMenuComponent
Readonly
placeholder:string | null
The placeholder for this select menu
Inherited from BaseSelectMenuComponent
Readonly
type:T['type']
The type of the component
Inherited from Component
equals(other):boolean
Whether or not the given components are equal
NameTypeOptionalDescription
otherthis | TNoThe component to compare against
Inherited from Component
toJSON():T
Returns the API-compatible JSON for this component
Inherited from Component