You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/call_back_struct/message.go

66 lines
1.9 KiB

3 years ago
package call_back_struct
3 years ago
2 years ago
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
3 years ago
type CallbackBeforeSendSingleMsgReq struct {
CommonCallbackReq
3 years ago
RecvID string `json:"recvID"`
3 years ago
}
type CallbackBeforeSendSingleMsgResp struct {
2 years ago
*CommonCallbackResp
3 years ago
}
type CallbackAfterSendSingleMsgReq struct {
CommonCallbackReq
3 years ago
RecvID string `json:"recvID"`
3 years ago
}
type CallbackAfterSendSingleMsgResp struct {
2 years ago
*CommonCallbackResp
3 years ago
}
type CallbackBeforeSendGroupMsgReq struct {
CommonCallbackReq
3 years ago
GroupID string `json:"groupID"`
3 years ago
}
type CallbackBeforeSendGroupMsgResp struct {
2 years ago
*CommonCallbackResp
3 years ago
}
type CallbackAfterSendGroupMsgReq struct {
CommonCallbackReq
3 years ago
GroupID string `json:"groupID"`
3 years ago
}
type CallbackAfterSendGroupMsgResp struct {
2 years ago
*CommonCallbackResp
3 years ago
}
2 years ago
type CallbackMsgModifyCommandReq struct {
3 years ago
CommonCallbackReq
}
2 years ago
type CallbackMsgModifyCommandResp struct {
2 years ago
*CommonCallbackResp
2 years ago
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"`
3 years ago
}