feat(onebot): set profile gender and return stranger online status
set_qq_profile accepts sex. get_stranger_info now returns the online status, extended status, and custom status that QQ already provides on the user profile. Closes #397 Closes #398
This commit is contained in:
11 files changed
+81
-13
No files matched your search
@@ -44,6 +44,12 @@ export const actions = [
|
||||
long_nick: { type: 'string', description: '个性签名' },
|
||||
qq_level: { type: 'integer', description: 'QQ 等级(仅查到资料时返回)' },
|
||||
level: { type: 'integer', description: 'QQ 等级,同 qq_level(仅查到资料时返回)' },
|
||||
status: { type: 'integer', description: '在线状态码' },
|
||||
extStatus: { type: 'integer', description: '扩展状态码' },
|
||||
ext_status: { type: 'integer', description: '扩展状态码(同 extStatus)' },
|
||||
batteryStatus: { type: 'integer', description: '电量状态' },
|
||||
customStatus: { type: 'object', description: '自定义状态', nullable: true },
|
||||
customStatusDescInfo: { type: 'string', description: '自定义状态说明' },
|
||||
},
|
||||
required: ['user_id', 'nickname', 'remark', 'sex', 'age', 'long_nick'],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user