feat: 支持set_diy_online_status
This commit is contained in:
1 parent
61b854e855
commit
f63a6cff64
5 files changed
+41
-1
No files matched your search
@@ -46,6 +46,15 @@ export class NTQQUserApi {
|
||||
});
|
||||
}
|
||||
|
||||
async setDiySelfOnlineStatus(faceId: string, wording: string, faceType: string) {
|
||||
return this.context.session.getMsgService().setStatus({
|
||||
status: 10,
|
||||
extStatus: 2000,
|
||||
customStatus: { faceId: faceId, wording: wording, faceType: faceType },
|
||||
batteryStatus: 0
|
||||
});
|
||||
}
|
||||
|
||||
async getBuddyRecommendContactArkJson(uin: string, sencenID = '') {
|
||||
return this.context.session.getBuddyService().getBuddyRecommendContactArkJson(uin, sencenID);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ export interface NodeIKernelMsgService {
|
||||
|
||||
kickOffLine(DevInfo: unknown): unknown;
|
||||
|
||||
setStatus(args: { status: number, extStatus: number, batteryStatus: number }): Promise<GeneralCallResult>;
|
||||
setStatus(args: { status: number, extStatus: number, batteryStatus: number, customStatus?: { faceId: string, wording: string, faceType: string } }): Promise<GeneralCallResult>;
|
||||
|
||||
fetchStatusMgrInfo(): unknown;
|
||||
|
||||
|
||||
Reference in new issue
Block a user