Preparing search index...
The search index is not available
@icqqjs/icqq
@icqqjs/icqq
FriendRequestEvent
Interface FriendRequestEvent
好友申请
interface
FriendRequestEvent
{
age
:
number
;
comment
:
string
;
flag
:
string
;
nickname
:
string
;
post_type
:
"request"
;
request_type
:
"friend"
;
seq
:
number
;
sex
:
Gender
;
source
:
string
;
sub_type
:
"add"
|
"single"
;
time
:
number
;
user_id
:
number
;
approve
(
yes
?:
boolean
)
:
Promise
<
boolean
>
;
}
Hierarchy (
view full
)
RequestEvent
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_
type
request_
type
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
?
)
:
Promise
<
boolean
>
快速操作方法
Parameters
Optional
yes
:
boolean
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
age
comment
flag
nickname
post_
type
request_
type
seq
sex
source
sub_
type
time
user_
id
Methods
approve
@icqqjs/icqq
Loading...
好友申请