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
/
MessageKeyboard
/
RenderData
Render
Data
@
ApiModel
@
Serializable
class
RenderData
(
source
)
MessageKeyboard.renderData
. 参考
官方文档
Members
Properties
button
Style
Link copied to clipboard
@
SerialName
(
value
=
"style"
)
@get:
JvmExposeBoxed
val
buttonStyle
:
MessageKeyboardStyle
按钮样式:0 灰色线框,1 蓝色线框
label
Link copied to clipboard
val
label
:
String
按钮上的文字
style
Link copied to clipboard
val
style
:
Int
visited
Label
Link copied to clipboard
val
visitedLabel
:
String
点击后按钮上的文字
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
String
component2
Link copied to clipboard
operator
fun
component2
(
)
:
String
component3
Link copied to clipboard
operator
fun
component3
(
)
:
Int
copy
Link copied to clipboard
fun
copy
(
label
:
String
=
this.label
,
visitedLabel
:
String
=
this.visitedLabel
,
style
:
Int
=
this.buttonStyle.value
)
:
MessageKeyboard.RenderData
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String