toggle menu
Simple Robot 组件 | QQ Guild
4.1.2
common
switch theme
search in API
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.event
/
C2CMsgReceive
C2CMsg
Receive
@
Serializable
@
SerialName
(
value
=
"C2C_MSG_RECEIVE"
)
data
class
C2CMsgReceive
(
val
id
:
String
?
=
null
,
val
s
:
Long
=
DEFAULT_SEQ
,
val
data
:
C2CManagementData
)
:
C2CManagementDispatch
(
source
)
允许机器人主动消息
触发场景 用户在机器人资料卡手动开启"主动消息"推送开关
Members
Constructors
C2CMsg
Receive
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
s
:
Long
=
DEFAULT_SEQ
,
data
:
C2CManagementData
)
Properties
data
Link copied to clipboard
@
SerialName
(
value
=
"d"
)
open
override
val
data
:
C2CManagementData
此事件的实际本体
id
Link copied to clipboard
open
override
val
id
:
String
?
=
null
s
Link copied to clipboard
protected
open
override
val
s
:
Long
事件序列
Inherited properties
op
Link copied to clipboard
@
Serializable
(
with
=
Opcode.SerializerByCode::class
)
val
op
:
Opcode
seq
Link copied to clipboard
val
seq
:
Long
事件序列