mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: 类型推断
This commit is contained in:
parent
9560afd4a7
commit
0087495749
@ -29,6 +29,17 @@ export enum GroupNotifyMsgStatus {
|
|||||||
KREFUSED,//拒绝
|
KREFUSED,//拒绝
|
||||||
KIGNORED//忽略
|
KIGNORED//忽略
|
||||||
}
|
}
|
||||||
|
export enum GroupInviteStatus {
|
||||||
|
INIT,
|
||||||
|
WAIT_TO_APPROVE,
|
||||||
|
JOINED,
|
||||||
|
REFUSED_BY_ADMINI_STRATOR
|
||||||
|
}
|
||||||
|
export enum GroupInviteType {
|
||||||
|
BYBUDDY,
|
||||||
|
BYGROUPMEMBER,
|
||||||
|
BYDISCUSSMEMBER
|
||||||
|
}
|
||||||
export interface GroupNotify {
|
export interface GroupNotify {
|
||||||
time: number; // 自己添加的字段,时间戳,毫秒, 用于判断收到短时间内收到重复的notify
|
time: number; // 自己添加的字段,时间戳,毫秒, 用于判断收到短时间内收到重复的notify
|
||||||
seq: string; // 唯一标识符,转成数字再除以1000应该就是时间戳?
|
seq: string; // 唯一标识符,转成数字再除以1000应该就是时间戳?
|
||||||
@ -40,8 +51,9 @@ export interface GroupNotify {
|
|||||||
actionUser: { uid: string; nickName: string }; //未知
|
actionUser: { uid: string; nickName: string }; //未知
|
||||||
actionTime: string;
|
actionTime: string;
|
||||||
invitationExt: {
|
invitationExt: {
|
||||||
srcType: number; // 0?未知
|
srcType: GroupInviteType; // 邀请来源
|
||||||
groupCode: string; waitStatus: number
|
groupCode: string;
|
||||||
|
waitStatus: GroupInviteStatus
|
||||||
};
|
};
|
||||||
postscript: string; // 加群用户填写的验证信息
|
postscript: string; // 加群用户填写的验证信息
|
||||||
repeatSeqs: [];
|
repeatSeqs: [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user