Table of Contents

Struct MessageComponentInteractionMetadata

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the metadata of a component interaction.

public readonly struct MessageComponentInteractionMetadata : 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>

InteractedMessageId

Gets the ID of the message that was interacted with to trigger the interaction.

public ulong InteractedMessageId { get; }

Property Value

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?

Type

Gets the type of the interaction.

public InteractionType Type { get; }

Property Value

InteractionType

User

Gets the user who triggered the interaction.

public IUser User { get; }

Property Value

IUser

UserId

Gets the ID of the user who triggered the interaction.

public ulong UserId { get; }

Property Value

ulong