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
/
Ready
Ready
@
Serializable
@
SerialName
(
value
=
"READY"
)
data
class
Ready
(
val
id
:
String
?
=
null
,
val
s
:
Long
=
DEFAULT_SEQ
,
val
data
:
Ready.Data
)
:
Signal.Dispatch
(
source
)
鉴权成功之后,后台会下发的 Ready Event.
Members
Constructors
Ready
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
s
:
Long
=
DEFAULT_SEQ
,
data
:
Ready.Data
)
Types
Data
Link copied to clipboard
@
Serializable
data
class
Data
(
val
version
:
String
,
val
sessionId
:
String
,
val
user
:
User
,
val
shard
:
Shard
)
Ready
的事件内容
Properties
data
Link copied to clipboard
@
SerialName
(
value
=
"d"
)
open
override
val
data
:
Ready.Data
此事件的实际本体
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
事件序列