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
IntegrationOwners
Gets the Ids for installation contexts related to the interaction.
public IReadOnlyDictionary<ApplicationIntegrationType, ulong> IntegrationOwners { get; }
Property Value
InteractedMessageId
Gets the ID of the message that was interacted with to trigger the interaction.
public ulong InteractedMessageId { get; }
Property Value
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
Type
Gets the type of the interaction.
public InteractionType Type { get; }
Property Value
User
Gets the user who triggered the interaction.
public IUser User { get; }
Property Value
UserId
Gets the ID of the user who triggered the interaction.
public ulong UserId { get; }