Table of Contents

Class RestUserCommandData

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

Represents the data for a RestUserCommand.

public class RestUserCommandData : RestCommandBaseData, IEntity<ulong>, IUserCommandInteractionData, IApplicationCommandInteractionData, IDiscordInteractionData
Inheritance
RestUserCommandData
Implements
Inherited Members

Properties

Member

Gets the user who this command targets.

public RestUser Member { get; }

Property Value

RestUser

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 RestUserCommandData