Table of Contents

Class RestCommandBaseData<TOption>

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

Represents the base data tied with the RestCommandBase interaction.

public class RestCommandBaseData<TOption> : RestEntity<ulong>, IEntity<ulong>, IApplicationCommandInteractionData, IDiscordInteractionData where TOption : IApplicationCommandInteractionDataOption

Type Parameters

TOption
Inheritance
RestCommandBaseData<TOption>
Implements
Derived
Inherited Members

Properties

Name

Gets the name of this command.

public string Name { get; }

Property Value

string

Options

Gets a collection of TOption received with this interaction.

public virtual IReadOnlyCollection<TOption> Options { get; }

Property Value

IReadOnlyCollection<TOption>