Class SocketMessageCommandData
Represents the data tied with the SocketMessageCommand interaction.
Inheritance
SocketMessageCommandData
Implements
Inherited Members
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketMessageCommandData : SocketCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Properties
| Improve this Doc View SourceMessage
Gets the message associated with this message command.
Declaration
public SocketMessage Message { get; }
Property Value
Type | Description |
---|---|
SocketMessage |
Options
Gets the TOption
received with this interaction.
Declaration
public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IApplicationCommandInteractionDataOption> |
Overrides
Discord.WebSocket.SocketCommandBaseData<Discord.IApplicationCommandInteractionDataOption>.Options
Remarks
Note Not implemented for SocketMessageCommandData
Explicit Interface Implementations
| Improve this Doc View SourceIMessageCommandInteractionData.Message
Gets the message associated with this message command.
Declaration
IMessage IMessageCommandInteractionData.Message { get; }
Returns
Type | Description |
---|---|
IMessage |