using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using Geekbot.Core.Interactions.ApplicationCommand;
namespace Geekbot.Core.Interactions.Request
{
///
public record InteractionOption
{
///
/// the name of the parameter
///
[JsonPropertyName("name")]
public string Name { get; set; }
///
/// value of application command option type
///
[JsonPropertyName("type")]
public OptionType Type { get; set; }
///
/// the value of the pair
///
[JsonPropertyName("value")]
public JsonElement Value { get; set; }
///
/// present if this option is a group or subcommand
///
[JsonPropertyName("options")]
public List Options { get; set; }
}
}