diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.common
/
SelectOption
Select
Option
@
Serializable
data
class
SelectOption
(
val
label
:
String
,
val
value
:
String
,
val
description
:
String
?
=
null
,
val
emoji
:
PartialEmoji
?
=
null
,
val
default
:
Boolean
=
false
)
(
source
)
Members
Constructors
Select
Option
Link copied to clipboard
constructor
(
label
:
String
,
value
:
String
,
description
:
String
?
=
null
,
emoji
:
PartialEmoji
?
=
null
,
default
:
Boolean
=
false
)
Properties
default
Link copied to clipboard
@
SerialName
(
value
=
"default"
)
val
default
:
Boolean
=
false
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
?
=
null
emoji
Link copied to clipboard
@
SerialName
(
value
=
"emoji"
)
val
emoji
:
PartialEmoji
?
=
null
label
Link copied to clipboard
@
SerialName
(
value
=
"label"
)
val
label
:
String
value
Link copied to clipboard
@
SerialName
(
value
=
"value"
)
val
value
:
String