Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-api
/
love.forte.simbot.qguild.model.menu
/
CustomMenu
/
Switch
Switch
@
ApiModel
@
Serializable
class
Switch
(
source
)
Item
的开关配置。
Since
5.0
Members
Properties
default
Value
Link copied to clipboard
@
SerialName
(
value
=
"default"
)
val
defaultValue
:
Boolean
?
开关初始状态。
switch
Id
Link copied to clipboard
@
SerialName
(
value
=
"switch_id"
)
val
switchId
:
String
?
开关唯一标识。
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String