Class SocketMessageCommandData
Represents the data tied with the Discord.WebSocket.SocketMessageCommand interaction.
Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketMessageCommandData : SocketCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Properties​
Message​
Gets the message associated with this message command.
View Source​
Declaration
public SocketMessage Message { get; }
Options​
The <code data-dev-comment-type="typeparamref" class="typeparamref">TOption</code> received with this interaction.
View Source​
Declaration
public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
IMessageCommandInteractionData.Message​
Gets the message associated with this message command.
View Source​
Declaration
IMessage IMessageCommandInteractionData.Message { get; }