From b18808345230575da1360ae36986de2eec6a30c2 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 6 Jun 2023 20:12:39 +0800 Subject: [PATCH] group --- pkg/rpcclient/group.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/rpcclient/group.go b/pkg/rpcclient/group.go index 134bfb270..bd45e993e 100644 --- a/pkg/rpcclient/group.go +++ b/pkg/rpcclient/group.go @@ -160,13 +160,14 @@ func (g *GroupClient) GetGroupInfoCache(ctx context.Context, groupID string) (*s return resp.GroupInfo, nil } -func (g *GroupClient) GetGroupMemberCache(ctx context.Context, groupID string, userID string) (*sdkws.GroupMemberFullInfo, error) { +func (g *GroupClient) GetGroupMemberCache(ctx context.Context, groupID string, groupMemberID string) (*sdkws.GroupMemberFullInfo, error) { cc, err := g.getConn(ctx) if err != nil { return nil, err } resp, err := group.NewGroupClient(cc).GetGroupMemberCache(ctx, &group.GetGroupMemberCacheReq{ - GroupID: groupID, + GroupID: groupID, + GroupMemberID: groupMemberID, }) if err != nil { return nil, err