Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FriendRequestEvent

好友申请

Hierarchy

Index

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: "single" | "add"

为single时对方已将你加为单向好友

time

time: number

user_id

user_id: number

Methods

approve

  • approve(yes?: boolean): Promise<boolean>

Generated using TypeDoc