mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: setGroupAvatar
This commit is contained in:
parent
60796c26ca
commit
cd1bae9a1f
@ -47,8 +47,7 @@ export class NTQQUserApi {
|
|||||||
return { result: ret?.result, errMsg: ret?.errMsg };
|
return { result: ret?.result, errMsg: ret?.errMsg };
|
||||||
}
|
}
|
||||||
static async setGroupAvatar(gc: string, filePath: string) {
|
static async setGroupAvatar(gc: string, filePath: string) {
|
||||||
const ret = await napCatCore.session.getGroupService().setHeader(gc,filePath);
|
return napCatCore.session.getGroupService().setHeader(gc, filePath);
|
||||||
return { result: ret?.result, errMsg: ret?.errMsg };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static async getSelfInfo() {
|
static async getSelfInfo() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user