Simple Robot
Toggle table of contents
5.0.0-Preview4
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.event
/
InteractionCreate
Interaction
Create
@
Serializable
@
SerialName
(
value
=
"INTERACTION_CREATE"
)
data
class
InteractionCreate
(
val
id
:
String
,
val
s
:
Long
=
DEFAULT_SEQ
,
val
data
:
InteractionCreateEventData
)
:
Signal.Dispatch
(
source
)
互动事件创建时。
Since
4.4.0
Members
Constructors
Interaction
Create
Link copied to clipboard
constructor
(
id
:
String
,
s
:
Long
=
DEFAULT_SEQ
,
data
:
InteractionCreateEventData
)
Properties
data
Link copied to clipboard
@
SerialName
(
value
=
"d"
)
open
override
val
data
:
InteractionCreateEventData
此事件的实际本体
id
Link copied to clipboard
open
override
val
id
:
String
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
事件序列