Struct ApplicationCommandInteractionMetadata
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents the metadata of an application command interaction.
public readonly struct ApplicationCommandInteractionMetadata : 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
Name
Gets the name of the command.
public string Name { 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; }