Preparing search index...
The search index is not available
onebot-client
onebot-client
FriendRequestEvent
Interface FriendRequestEvent
好友申请
Hierarchy
RequestEvent
Hierarchy
FriendRequestEvent
Index
Properties
age
comment
flag
nickname
post_
type
request_
type
seq
sex
source
sub_
type
time
user_
id
Methods
approve
Properties
age
age
:
number
comment
comment
:
string
flag
flag
:
string
Cqhttp
cqhttp方法用
nickname
nickname
:
string
post_
type
post_
type
:
"request"
request_
type
request_
type
:
"friend"
seq
seq
:
number
sex
sex
:
Gender
source
source
:
string
sub_
type
sub_
type
:
"add"
|
"single"
为single时对方已将你加为单向好友
time
time
:
number
user_
id
user_
id
:
number
Methods
approve
approve
(
yes
?:
boolean
)
:
Promise
<
boolean
>
快速操作方法
Parameters
Optional
yes:
boolean
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
onebot-
client
Client
Friend
Request
Event
age
comment
flag
nickname
post_
type
request_
type
seq
sex
source
sub_
type
time
user_
id
approve
Generated using
TypeDoc
好友申请