Class RestCommandBaseData<TOption>
Represents the base data tied with the RestCommandBase interaction.
public class RestCommandBaseData<TOption> : RestEntity<ulong>, IEntity<ulong>, IApplicationCommandInteractionData, IDiscordInteractionData where TOption : IApplicationCommandInteractionDataOption
Type Parameters
TOption
- Inheritance
-
RestCommandBaseData<TOption>
- Implements
- Derived
- Inherited Members
Properties
Name
Gets the name of this command.
public string Name { get; }
Property Value
Options
Gets a collection of TOption
received with this interaction.
public virtual IReadOnlyCollection<TOption> Options { get; }
Property Value
- IReadOnlyCollection<TOption>