feat: createUidFromTinyId

This commit is contained in:
手瓜一十雪
2024-09-13 16:05:25 +08:00
parent 8ad746397c
commit 748b51428c
2 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ export class NTQQUserApi {
this.context = context;
this.core = core;
}
//self_tind格式
async createUidFromTinyId(tinyId: string) {
return this.context.session.getMsgService().createUidFromTinyId(this.core.selfInfo.uin, tinyId);
}
async getStatusByUid(uid: string) {
return this.context.session.getProfileService().getStatus(uid);
}