Table of Contents

Class DiscordInteractionData

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents the inner data payload of a DiscordInteraction.

public sealed class DiscordInteractionData : SnowflakeObject
Inheritance
DiscordInteractionData
Inherited Members

Properties

ComponentType

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

Components

Gets the components. Only applicable to modal submits.

If you want to get the components, use DiscordInteraction. Message.Components instead.

CustomId

The Id of the component that invoked this interaction, if applicable.

GuildId

Gets the Id of the guild this interaction was invoked in, if any.

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.

Type

Gets the type of the interaction.

Values

Gets the values of the interaction.