feat: NTGroupMemberRole

This commit is contained in:
手瓜一十雪 committed 2024-11-21 14:15:22 +08:00
1 parent f2ddcdefd2
commit c75c9c2d27
7 files changed
+17 -19

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ import {
GeneralCallResult,
Group,
GroupMember,
GroupMemberRole,
NTGroupMemberRole,
GroupRequestOperateTypes,
InstanceContext,
KickMemberV2Req,
@@ -457,7 +457,7 @@ export class NTQQGroupApi {
return this.context.session.getGroupService().modifyMemberCardName(groupQQ, memberUid, cardName);
}
async setMemberRole(groupQQ: string, memberUid: string, role: GroupMemberRole) {
async setMemberRole(groupQQ: string, memberUid: string, role: NTGroupMemberRole) {
return this.context.session.getGroupService().modifyMemberRole(groupQQ, memberUid, role);
}