diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.common
/
ChannelSelectMenu
Channel
Select
Menu
@
Serializable
data
class
ChannelSelectMenu
(
val
customId
:
String
,
val
disabled
:
Boolean
=
false
,
val
channelTypes
:
List
<
ChannelType
>
=
ChannelType.values().toList()
,
val
placeholder
:
String
?
=
null
,
val
minValues
:
Int
=
1
,
val
maxValues
:
Int
=
1
)
:
MessageComponent
(
source
)
Members
Constructors
Channel
Select
Menu
Link copied to clipboard
constructor
(
customId
:
String
,
disabled
:
Boolean
=
false
,
channelTypes
:
List
<
ChannelType
>
=
ChannelType.values().toList()
,
placeholder
:
String
?
=
null
,
minValues
:
Int
=
1
,
maxValues
:
Int
=
1
)
Properties
channel
Types
Link copied to clipboard
@
SerialName
(
value
=
"channel_types"
)
val
channelTypes
:
List
<
ChannelType
>
custom
Id
Link copied to clipboard
@
SerialName
(
value
=
"custom_id"
)
val
customId
:
String
disabled
Link copied to clipboard
@
SerialName
(
value
=
"disabled"
)
val
disabled
:
Boolean
=
false
max
Values
Link copied to clipboard
@
SerialName
(
value
=
"max_values"
)
val
maxValues
:
Int
=
1
min
Values
Link copied to clipboard
@
SerialName
(
value
=
"min_values"
)
val
minValues
:
Int
=
1
placeholder
Link copied to clipboard
@
SerialName
(
value
=
"placeholder"
)
val
placeholder
:
String
?
=
null
type
Link copied to clipboard
open
override
val
type
:
Int
=
8