feat: NTGroupMemberRole

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

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);
}