Skip to main content

Class SocketMessageCommand

Represents a Websocket-based slash command received over the gateway.

Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketMessageCommand : SocketCommandBase, IMessageCommandInteraction, IDiscordInteraction, ISnowflakeEntity, IEntity<ulong>

Properties​

Data​

The data associated with this interaction.

View Source​
Declaration
public SocketMessageCommandData Data { get; }

IMessageCommandInteraction.Data​

Gets the data associated with this interaction.

View Source​
Declaration
IMessageCommandInteractionData IMessageCommandInteraction.Data { get; }

IDiscordInteraction.Data​

Gets the data sent within this interaction.

View Source​
Declaration
IDiscordInteractionData IDiscordInteraction.Data { get; }

Implements​