Skip to main content

Interface IApplicationCommandInteractionData

Represents data of an Interaction Command, see https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondata.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IApplicationCommandInteractionData : IDiscordInteractionData

Properties​

Id​

Gets the snowflake id of this command.

View Source​
Declaration
ulong Id { get; }

Name​

Gets the name of this command.

View Source​
Declaration
string Name { get; }

Options​

Gets the options that the user has provided.

View Source​
Declaration
IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }