Table of Contents

Class DiscordInteractionData

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents the inner data payload of a DiscordInteraction.

public sealed class DiscordInteractionData : SnowflakeObject
Inheritance
object
DiscordInteractionData
Inherited Members

Properties

ComponentType

The type of component that invoked this interaction, if applicable.

Components

Components on this interaction. Only applies to modal interactions.

CustomId

The Id of the component that invoked this interaction, or the Id of the modal the interaction was spawned from.

Name

Gets the name of the invoked interaction.

Options

Gets the parameters and values of the invoked interaction.

Resolved

Gets the Discord snowflake objects resolved from this interaction's arguments.

TextInputComponents

Gets all text input components on this interaction.

Title

The title of the modal, if applicable.

Type
Values