Class SocketApplicationCommandOption
Inheritance
SocketApplicationCommandOption
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketApplicationCommandOption : object, IApplicationCommandOption
Properties
|
Improve this Doc
View Source
ChannelTypes
Gets the allowed channel types for this option.
Declaration
public IReadOnlyCollection<ChannelType> ChannelTypes { get; }
Property Value
|
Improve this Doc
View Source
Choices
Gets a collection of choices for the user to pick from.
Declaration
public IReadOnlyCollection<SocketApplicationCommandChoice> Choices { get; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string Description { get; }
Property Value
|
Improve this Doc
View Source
DescriptionLocalizations
Gets the localization dictionary for the description field of this command option.
Declaration
public IReadOnlyDictionary<string, string> DescriptionLocalizations { get; }
Property Value
|
Improve this Doc
View Source
DescriptionLocalized
Gets the localized description of this command option.
Declaration
public string DescriptionLocalized { get; }
Property Value
Remarks
|
Improve this Doc
View Source
IsAutocomplete
Declaration
public bool? IsAutocomplete { get; }
Property Value
|
Improve this Doc
View Source
IsDefault
Declaration
public bool? IsDefault { get; }
Property Value
|
Improve this Doc
View Source
IsRequired
Declaration
public bool? IsRequired { get; }
Property Value
|
Improve this Doc
View Source
MaxLength
Declaration
public int? MaxLength { get; }
Property Value
|
Improve this Doc
View Source
MaxValue
Declaration
public double? MaxValue { get; }
Property Value
|
Improve this Doc
View Source
MinLength
Declaration
public int? MinLength { get; }
Property Value
|
Improve this Doc
View Source
MinValue
Declaration
public double? MinValue { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
NameLocalizations
Gets the localization dictionary for the name field of this command option.
Declaration
public IReadOnlyDictionary<string, string> NameLocalizations { get; }
Property Value
|
Improve this Doc
View Source
NameLocalized
Gets the localized name of this command option.
Declaration
public string NameLocalized { get; }
Property Value
Remarks
|
Improve this Doc
View Source
Options
Gets a collection of nested options.
Declaration
public IReadOnlyCollection<SocketApplicationCommandOption> Options { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public ApplicationCommandOptionType Type { get; }
Property Value
Implements