Interface IApplicationCommandInteractionData
Represents data of an Interaction Command, see https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondata.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IApplicationCommandInteractionData : IDiscordInteractionData
Properties
| Improve this Doc View SourceId
Gets the snowflake id of this command.
Declaration
ulong Id { get; }
Property Value
Type | Description |
---|---|
UInt64 |
Name
Gets the name of this command.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
String |
Options
Gets the options that the user has provided.
Declaration
IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IApplicationCommandInteractionDataOption> |