Files
open-im-server/pkg/call_back_struct/common.go
T

25 lines
841 B
Go
Raw Normal View History

2022-02-24 14:47:21 +08:00
package call_back_struct
2022-02-28 17:57:03 +08:00
type CommonCallbackReq struct {
2022-03-03 18:49:36 +08:00
SendID string `json:"sendID"`
2022-03-03 17:53:37 +08:00
CallbackCommand string `json:"callbackCommand"`
2022-03-04 14:27:54 +08:00
ServerMsgID string `json:"serverMsgID"`
ClientMsgID string `json:"clientMsgID"`
2022-03-03 17:53:37 +08:00
OperationID string `json:"operationID"`
SenderPlatformID int32 `json:"senderPlatformID"`
SenderNickname string `json:"senderNickname"`
SessionType int32 `json:"sessionType"`
2022-03-04 14:27:54 +08:00
MsgFrom int32 `json:"msgFrom"`
2022-03-03 17:53:37 +08:00
ContentType int32 `json:"contentType"`
Status int32 `json:"status"`
2022-03-03 18:49:36 +08:00
CreateTime int64 `json:"createTime"`
Content string `json:"content"`
2022-02-28 17:57:03 +08:00
}
type CommonCallbackResp struct {
2022-03-14 18:33:00 +08:00
ActionCode int `json:"actionCode"`
ErrCode int `json:"errCode"`
ErrMsg string `json:"errMsg"`
2022-02-28 17:57:03 +08:00
OperationID string `json:"operationID"`
}