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

66 lines
1.9 KiB
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
2022-10-21 15:44:55 +08:00
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
2022-02-28 17:57:03 +08:00
type CallbackBeforeSendSingleMsgReq struct {
CommonCallbackReq
2022-05-27 10:26:44 +08:00
RecvID string `json:"recvID"`
2022-02-28 17:57:03 +08:00
}
type CallbackBeforeSendSingleMsgResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-02-28 17:57:03 +08:00
}
type CallbackAfterSendSingleMsgReq struct {
CommonCallbackReq
2022-05-27 10:26:44 +08:00
RecvID string `json:"recvID"`
2022-02-28 17:57:03 +08:00
}
type CallbackAfterSendSingleMsgResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-02-28 17:57:03 +08:00
}
type CallbackBeforeSendGroupMsgReq struct {
CommonCallbackReq
2022-03-03 18:49:36 +08:00
GroupID string `json:"groupID"`
2022-02-28 17:57:03 +08:00
}
type CallbackBeforeSendGroupMsgResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-02-28 17:57:03 +08:00
}
type CallbackAfterSendGroupMsgReq struct {
CommonCallbackReq
2022-03-03 18:49:36 +08:00
GroupID string `json:"groupID"`
2022-02-28 17:57:03 +08:00
}
type CallbackAfterSendGroupMsgResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-02-28 17:57:03 +08:00
}
2022-10-21 15:44:55 +08:00
type CallbackMsgModifyCommandReq struct {
2022-02-28 17:57:03 +08:00
CommonCallbackReq
}
2022-10-21 15:44:55 +08:00
type CallbackMsgModifyCommandResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-10-21 15:44:55 +08:00
Content *string `json:"content"`
RecvID *string `json:"recvID"`
GroupID *string `json:"groupID"`
ClientMsgID *string `json:"clientMsgID"`
ServerMsgID *string `json:"serverMsgID"`
SenderPlatformID *int32 `json:"senderPlatformID"`
SenderNickname *string `json:"senderNickname"`
SenderFaceURL *string `json:"senderFaceURL"`
SessionType *int32 `json:"sessionType"`
MsgFrom *int32 `json:"msgFrom"`
ContentType *int32 `json:"contentType"`
Status *int32 `json:"status"`
Options *map[string]bool `json:"options"`
OfflinePushInfo *sdk_ws.OfflinePushInfo `json:"offlinePushInfo"`
AtUserIDList *[]string `json:"atUserIDList"`
MsgDataList *[]byte `json:"msgDataList"`
AttachedInfo *string `json:"attachedInfo"`
Ex *string `json:"ex"`
2022-02-28 17:57:03 +08:00
}