Simple Robot 组件 | KOOK
Toggle table of contents
4.1.2-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-api
/
love.forte.simbot.kook.event
/
MessageBtnClickEventBody
Message
Btn
Click
Event
Body
@
Serializable
data
class
MessageBtnClickEventBody
(
val
msgId
:
String
,
val
userId
:
String
,
val
value
:
String
,
val
targetId
:
String
,
val
userInfo
:
SimpleUser
)
(
source
)
MessageBtnClickEventExtra
事件体。
Members
Constructors
Message
Btn
Click
Event
Body
Link copied to clipboard
constructor
(
msgId
:
String
,
userId
:
String
,
value
:
String
,
targetId
:
String
,
userInfo
:
SimpleUser
)
Properties
msg
Id
Link copied to clipboard
@
SerialName
(
value
=
"msg_id"
)
val
msgId
:
String
用户点击的消息 id
target
Id
Link copied to clipboard
@
SerialName
(
value
=
"target_id"
)
val
targetId
:
String
消息发送的目标 id,频道消息为频道
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
String
点击的用户
user
Info
Link copied to clipboard
@
SerialName
(
value
=
"user_info"
)
val
userInfo
:
SimpleUser
用户信息,同 User Object
value
Link copied to clipboard
val
value
:
String
return-val的值