using System.Text.Json.Serialization; namespace Geekbot.Core.Interactions.Response { /// /// Interactions--both receiving and responding--are webhooks under the hood. So responding to an Interaction is just like sending a webhook request! /// /// public record InteractionResponse { /// /// the type of response /// [JsonPropertyName("type")] public InteractionResponseType Type { get; set; } /// /// an optional response message /// [JsonPropertyName("data")] public InteractionResponseData Data { get; set; } } }