From 5243e8956b046b6f2d76d69657a4d5bc13950ee8 Mon Sep 17 00:00:00 2001 From: AndrewZuo01 Date: Tue, 28 Nov 2023 18:01:24 +0800 Subject: [PATCH] update --- pkg/callbackstruct/friend.go | 11 ----------- pkg/callbackstruct/group.go | 26 -------------------------- 2 files changed, 37 deletions(-) diff --git a/pkg/callbackstruct/friend.go b/pkg/callbackstruct/friend.go index 4c88d928a..a15e96913 100644 --- a/pkg/callbackstruct/friend.go +++ b/pkg/callbackstruct/friend.go @@ -35,17 +35,6 @@ type CallBackAddFriendReplyBeforeResp struct { CommonCallbackResp } -type CallbackAfterAddFriendReq struct { - CallbackCommand `json:"callbackCommand"` - FromUserID string `json:"fromUserID" ` - ToUserID string `json:"toUserID"` - ReqMsg string `json:"reqMsg"` -} - -type CallbackAfterAddFriendResp struct { - CommonCallbackResp -} - type CallbackBeforeSetFriendRemarkReq struct { CallbackCommand `json:"callbackCommand"` OwnerUserID string `json:"ownerUserID"` diff --git a/pkg/callbackstruct/group.go b/pkg/callbackstruct/group.go index 65d9b62c6..99bbbdcc3 100644 --- a/pkg/callbackstruct/group.go +++ b/pkg/callbackstruct/group.go @@ -133,32 +133,6 @@ type CallbackAfterUngroupResp struct { CommonCallbackResp } -type CallbackAfterSetGroupInfoReq struct { - CallbackCommand `json:"callbackCommand"` - GroupID string `json:"groupID"` - GroupType *int32 `json:"groupType"` - UserID string `json:"userID"` - Name string `json:"name"` - Notification string `json:"notification"` - GroupUrl string `json:"groupUrl"` -} - -type CallbackAfterSetGroupInfoResp struct { - CommonCallbackResp -} - -type CallbackAfterRevokeMsgReq struct { - CallbackCommand `json:"callbackCommand"` - GroupID string `json:"groupID"` - GroupType *int32 `json:"groupType"` - UserID string `json:"userID"` - Content string `json:"content"` -} - -type CallbackAfterRevokeMsgResp struct { - CommonCallbackResp -} - type CallbackQuitGroupReq struct { CallbackCommand `json:"callbackCommand"` GroupID string `json:"groupID"`