请求事件:加群/好友申请,可 approve 或 reject
Extends
Properties
bot
readonlybot:BotBase
Inherited from
comment?
readonlyoptionalcomment?:string
flag?
readonlyoptionalflag?:string
group_id?
readonlyoptionalgroup_id?:string
identity
readonlyidentity:EventIdentity
Inherited from
kind
readonlykind:"request"
事件大类:message / notice / request / meta_event / adapter
Overrides
raw?
readonlyoptionalraw?:unknown
Inherited from
request_type?
readonlyoptionalrequest_type?:string
routes
readonlyroutes: readonlystring[]
该事件可匹配的路由列表,由 buildRoutes 生成
Inherited from
self_id
readonlyself_id:string
Inherited from
sub_type?
readonlyoptionalsub_type?:string
time?
readonlyoptionaltime?:number
Inherited from
type
readonlytype:string
事件类型,如 message、notice.group.poke
Inherited from
user_id?
readonlyoptionaluser_id?:string
Methods
approve()
approve():
Promise<void>
Returns
Promise<void>
reject()
reject(
reason?):Promise<void>
Parameters
reason?
string
Returns
Promise<void>
