mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: NTSex
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { QQLevel, Sex } from './user';
|
||||
import { QQLevel, NTSex } from './user';
|
||||
|
||||
export interface KickMemberInfo {
|
||||
optFlag: number;
|
||||
|
@@ -1,8 +1,9 @@
|
||||
// 性别枚举
|
||||
export enum Sex {
|
||||
male = 1,
|
||||
female = 2,
|
||||
unknown = 255,
|
||||
export enum NTSex {
|
||||
GENDER_UNKOWN = 0,
|
||||
GENDER_MALE = 1,
|
||||
GENDER_FEMALE = 2,
|
||||
GENDER_PRIVACY = 255,
|
||||
}
|
||||
|
||||
// 好友分类类型
|
||||
@@ -226,7 +227,7 @@ export interface UserDetailInfoListenerArg {
|
||||
export interface ModifyProfileParams {
|
||||
nick: string;
|
||||
longNick: string;
|
||||
sex: Sex;
|
||||
sex: NTSex;
|
||||
birthday: { birthday_year: string, birthday_month: string, birthday_day: string };
|
||||
location: any;
|
||||
}
|
||||
@@ -259,7 +260,7 @@ export interface User {
|
||||
avatarUrl?: string;
|
||||
longNick?: string;
|
||||
remark?: string;
|
||||
sex?: Sex;
|
||||
sex?: NTSex;
|
||||
age?: number;
|
||||
qqLevel?: QQLevel;
|
||||
qid?: string;
|
||||
|
Reference in New Issue
Block a user