geekbot/src/Core/Interactions/ApplicationCommand/OptionChoiceString.cs

14 lines
No EOL
524 B
C#

using System.Text.Json.Serialization;
namespace Geekbot.Core.Interactions.ApplicationCommand
{
/// <see href="https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure"/>
public record OptionChoiceString : OptionChoice
{
/// <summary>
/// value of the choice, up to 100 characters if string
/// </summary>
[JsonPropertyName("value")]
public string Value { get; set; }
}
}