Class DiscordInteractionResponseData
Represents a discord Interaction Response Structure API model. Docs: https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-response-structure
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Interaction
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordInteractionResponseData : IEquatable<DiscordInteractionResponseData>
Properties
| Improve this Doc View SourceData
An optional response message.
Declaration
[JsonPropertyName("data")]
public DiscordInteractionCallbackData Data { get; set; }
Property Value
Type | Description |
---|---|
DiscordInteractionCallbackData |
Type
The type of interaction.
Declaration
[JsonPropertyName("type")]
public DiscordInteractionCallbackType Type { get; set; }
Property Value
Type | Description |
---|---|
DiscordInteractionCallbackType |