fix: kill group member callback

pull/2643/head
icey-yu 1 year ago
parent b64edb67c7
commit dd4cd5d197

@ -218,6 +218,7 @@ func (s *groupServer) webhookAfterKickGroupMember(ctx context.Context, after *co
CallbackCommand: callbackstruct.CallbackAfterKickGroupCommand, CallbackCommand: callbackstruct.CallbackAfterKickGroupCommand,
GroupID: req.GroupID, GroupID: req.GroupID,
KickedUserIDs: req.KickedUserIDs, KickedUserIDs: req.KickedUserIDs,
Reason: req.Reason,
} }
s.webhookClient.AsyncPost(ctx, cbReq.GetCallbackCommand(), cbReq, &callbackstruct.CallbackKillGroupMemberResp{}, after) s.webhookClient.AsyncPost(ctx, cbReq.GetCallbackCommand(), cbReq, &callbackstruct.CallbackKillGroupMemberResp{}, after)
} }

Loading…
Cancel
Save