Table of Contents

Struct ModalSubmitInteractionMetadata

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the metadata of a modal interaction.

public readonly struct ModalSubmitInteractionMetadata : IMessageInteractionMetadata, ISnowflakeEntity, IEntity<ulong>
Implements
Inherited Members

Properties

CreatedAt

Gets when the snowflake was created.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

A DateTimeOffset representing when the entity was first created.

Id

Gets the unique identifier for this object.

public ulong Id { get; }

Property Value

ulong

IntegrationOwners

Gets the Ids for installation contexts related to the interaction.

public IReadOnlyDictionary<ApplicationIntegrationType, ulong> IntegrationOwners { get; }

Property Value

IReadOnlyDictionary<ApplicationIntegrationType, ulong>

OriginalResponseMessageId

Gets the ID of the original response message if the message is a followup. null on original response messages.

public ulong? OriginalResponseMessageId { get; }

Property Value

ulong?

TriggeringInteractionMetadata

Gets the interaction metadata of the interaction that responded with the modal.

public IMessageInteractionMetadata TriggeringInteractionMetadata { get; }

Property Value

IMessageInteractionMetadata

Type

Gets the type of the interaction.

public InteractionType Type { get; }

Property Value

InteractionType

UserId

Gets the ID of the user who triggered the interaction.

public ulong UserId { get; }

Property Value

ulong