Simple Robot 组件 | OneBot
Toggle table of contents
1.7.0
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | OneBot
simbot-component-onebot-v11-event
/
love.forte.simbot.component.onebot.v11.event.notice
/
RawFriendAddEvent
Raw
Friend
Add
Event
@
Serializable
data
class
RawFriendAddEvent
(
val
time
:
Long
,
val
selfId
:
LongID
,
val
postType
:
String
,
val
noticeType
:
String
,
val
userId
:
LongID
)
:
RawNoticeEvent
(
source
)
好友添加
Members
Constructors
Raw
Friend
Add
Event
Link copied to clipboard
constructor
(
time
:
Long
,
selfId
:
LongID
,
postType
:
String
,
noticeType
:
String
,
userId
:
LongID
)
Properties
notice
Type
Link copied to clipboard
@
SerialName
(
value
=
"notice_type"
)
open
override
val
noticeType
:
String
通知类型
post
Type
Link copied to clipboard
@
SerialName
(
value
=
"post_type"
)
open
override
val
postType
:
String
事件类型
self
Id
Link copied to clipboard
@
SerialName
(
value
=
"self_id"
)
open
override
val
selfId
:
LongID
收到事件的机器人 QQ 号
time
Link copied to clipboard
open
override
val
time
:
Long
事件发生的时间戳
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
LongID
新添加好友 QQ 号。