Table of Contents

Class RestMessageCommandData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents the data for a RestMessageCommand.

public class RestMessageCommandData : RestCommandBaseData, IEntity<ulong>, IMessageCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Inheritance
RestMessageCommandData
Implements
Inherited Members

Properties

Message

Gets the message associated with this message command.

public RestMessage Message { get; }

Property Value

RestMessage

Options

Gets a collection of IApplicationCommandInteractionDataOption received with this interaction.

public override IReadOnlyCollection<IApplicationCommandInteractionDataOption> Options { get; }

Property Value

IReadOnlyCollection<IApplicationCommandInteractionDataOption>

Remarks

Note Not implemented for RestMessageCommandData