feat: add recvID/groupID for msg modification callback

Signed-off-by: soasurs <soasurs@gmail.com>
pull/351/head
soasurs 3 years ago
parent 42d9e7175f
commit b86e77c773
No known key found for this signature in database
GPG Key ID: C2923A8334802AD9

@ -147,6 +147,8 @@ func callbackMsgModify(msg *pbChat.SendMsgReq) cbApi.CommonCallbackResp {
commonCallbackReq.CallbackCommand = constant.CallbackMsgModifyCommand
req := cbApi.CallbackMsgModifyCommandReq{
CommonCallbackReq: commonCallbackReq,
GroupID: msg.MsgData.GroupID,
RecvID: msg.MsgData.RecvID,
}
resp := &cbApi.CallbackMsgModifyCommandResp{CommonCallbackResp: &callbackResp}
defer log.NewDebug(msg.OperationID, utils.GetSelfFuncName(), req, *resp)

@ -40,6 +40,8 @@ type CallbackAfterSendGroupMsgResp struct {
type CallbackMsgModifyCommandReq struct {
CommonCallbackReq
RecvID string `json:"recvID,omitempty"`
GroupID string `json:"groupID,omitempty"`
}
type CallbackMsgModifyCommandResp struct {

Loading…
Cancel
Save