Class RestMessageCommandData
Represents the data for a Discord.Rest.RestMessageCommand.
Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestMessageCommandData : RestCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Properties​
Message​
Gets the message associated with this message command.
View Source​
Declaration
public RestMessage Message { get; }
Options​
Gets a collection of <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; }