diff --git a/internal/push/logic/callback.go b/internal/push/logic/callback.go index a7cff2c20..8ae4ad190 100644 --- a/internal/push/logic/callback.go +++ b/internal/push/logic/callback.go @@ -125,6 +125,7 @@ func callbackBeforeSuperGroupOnlinePush(operationID string, groupID string, msg SessionType: msg.SessionType, AtUserIDList: msg.AtUserIDList, Content: callback.GetContent(msg), + Seq: msg.Seq, } resp := &cbApi.CallbackBeforeSuperGroupOnlinePushResp{CommonCallbackResp: &callbackResp} if err := http.CallBackPostReturn(config.Config.Callback.CallbackUrl, constant.CallbackSuperGroupOnlinePushCommand, req, resp, config.Config.Callback.CallbackBeforeSuperGroupOnlinePush.CallbackTimeOut); err != nil { diff --git a/pkg/call_back_struct/push.go b/pkg/call_back_struct/push.go index 1fa0fbff6..b327e8d75 100644 --- a/pkg/call_back_struct/push.go +++ b/pkg/call_back_struct/push.go @@ -30,6 +30,7 @@ type CallbackBeforeSuperGroupOnlinePushReq struct { SessionType int32 `json:"sessionType"` AtUserIDList []string `json:"atUserIDList"` Content string `json:"content"` + Seq uint32 `json:"seq"` } type CallbackBeforeSuperGroupOnlinePushResp struct {