feat(onebot): report the invited account on group invite events
request.group.invite already identified the inviter. The event now also reports the invited account when QQ provides it. Closes #394
This commit is contained in:
12 files changed
+181
-3
No files matched your search
@@ -391,6 +391,11 @@ export interface GroupInviteEvent extends QQEvent {
|
||||
groupId: number;
|
||||
fromUin: number;
|
||||
fromUid?: string;
|
||||
/** Person being invited. Present on admin-side invitation notices
|
||||
* and on the pending-request list; for a self-invite this is the
|
||||
* logged-in account. */
|
||||
invitedUin?: number;
|
||||
invitedUid?: string;
|
||||
subType: string;
|
||||
message: string;
|
||||
flag: string;
|
||||
|
||||
Reference in new issue
Block a user