diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.interaction.command
/
CommandOption
/
CommandOptionChoice
Command
Option
Choice
@
Serializable
data
class
CommandOptionChoice
(
val
name
:
String
,
val
value
:
JsonPrimitive
,
val
localizedNames
:
Map
<
String
,
String
>
=
emptyMap()
)
(
source
)
Members
Constructors
Command
Option
Choice
Link copied to clipboard
constructor
(
name
:
String
,
value
:
JsonPrimitive
,
localizedNames
:
Map
<
String
,
String
>
=
emptyMap()
)
Properties
localized
Names
Link copied to clipboard
@
SerialName
(
value
=
"name_localizations"
)
val
localizedNames
:
Map
<
String
,
String
>
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
value
Link copied to clipboard
@
SerialName
(
value
=
"value"
)
val
value
:
JsonPrimitive