feat: MemberAddShowType

This commit is contained in:
手瓜一十雪 2024-11-21 13:44:21 +08:00
parent eeef5409dc
commit e5b063accb

View File

@ -270,6 +270,20 @@ export enum FaceType {
poke = 5 // 拍一拍
}
/**
* Poke
*/
export enum PokeType {
POKE_TYPE_APPROVE = 3,
POKE_TYPE_GIVING_HEART = 2,
POKE_TYPE_GREAT_MOVE = 6,
POKE_TYPE_HEART_BREAK = 4,
POKE_TYPE_HI_TOGETHER = 5,
POKE_TYPE_POKE = 1,
POKE_TYPE_POKE_OLD = 0,
POKE_TYPE_VAS_POKE = 126,
}
/**
*
*/
@ -352,13 +366,27 @@ export enum TipGroupElementType {
ban = 8
}
/**
* ShowType
*/
export enum MemberAddShowType {
K_OTHER_ADD = 0,
K_OTHER_ADD_BY_OTHER_QRCODE = 2,
K_OTHER_ADD_BY_YOUR_QRCODE = 3,
K_OTHER_INVITE_OTHER = 5,
K_OTHER_INVITE_YOU = 6,
K_YOU_ADD = 1,
K_YOU_ADD_BY_OTHER_QRCODE = 4,
K_YOU_ALREADY_MEMBER = 8,
K_YOU_INVITE_OTHER = 7,
}
/**
*
*/
export interface TipGroupElement {
type: TipGroupElementType; // 1表示有人加入群; 自己加入群也会收到这个
role: 0; // 暂时不知
groupName: string; // 暂时获取不到
role: 0;
groupName: string;
memberUid: string;
memberNick: string;
memberRemark: string;
@ -367,7 +395,7 @@ export interface TipGroupElement {
adminRemark: string;
createGroup: null;
memberAdd?: {
showType: 1;
showType: MemberAddShowType;
otherAdd: null;
otherAddByOtherQRCode: null;
otherAddByYourQRCode: null;