Skip to main content

Class SelectMenuOption

Represents a choice for a Discord.SelectMenuComponent.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class SelectMenuOption

Properties​

Label​

Gets the user-facing name of the option.

View Source​
Declaration
public string Label { get; }

Value​

Gets the dev-define value of the option.

View Source​
Declaration
public string Value { get; }

Description​

Gets a description of the option.

View Source​
Declaration
public string Description { get; }

Emote​

Gets the Discord.IEmote displayed with this menu option.

View Source​
Declaration
public IEmote Emote { get; }

IsDefault​

Gets whether or not this option will render as selected by default.

View Source​
Declaration
public bool? IsDefault { get; }