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.
102 lines
3.8 KiB
102 lines
3.8 KiB
2 years ago
|
package callback_struct
|
||
3 years ago
|
|
||
2 years ago
|
import (
|
||
|
"Open_IM/pkg/proto/msg"
|
||
|
sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
||
|
)
|
||
2 years ago
|
|
||
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
|
}
|
||
2 years ago
|
type CallbackBeforeSetMessageReactionExtReq struct {
|
||
|
OperationID string `json:"operationID"`
|
||
|
CallbackCommand string `json:"callbackCommand"`
|
||
|
SourceID string `json:"sourceID"`
|
||
|
OpUserID string `json:"opUserID"`
|
||
|
SessionType int32 `json:"sessionType"`
|
||
|
ReactionExtensionList map[string]*sdk_ws.KeyValue `json:"reactionExtensionList"`
|
||
|
ClientMsgID string `json:"clientMsgID"`
|
||
|
IsReact bool `json:"isReact"`
|
||
|
IsExternalExtensions bool `json:"isExternalExtensions"`
|
||
|
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
|
||
|
}
|
||
|
type CallbackBeforeSetMessageReactionExtResp struct {
|
||
|
*CommonCallbackResp
|
||
|
ResultReactionExtensionList []*msg.KeyValueResp `json:"resultReactionExtensionList"`
|
||
|
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
|
||
|
}
|
||
|
type CallbackDeleteMessageReactionExtReq struct {
|
||
|
OperationID string `json:"operationID"`
|
||
|
CallbackCommand string `json:"callbackCommand"`
|
||
|
SourceID string `json:"sourceID"`
|
||
|
OpUserID string `json:"opUserID"`
|
||
|
SessionType int32 `json:"sessionType"`
|
||
|
ReactionExtensionList []*sdk_ws.KeyValue `json:"reactionExtensionList"`
|
||
|
ClientMsgID string `json:"clientMsgID"`
|
||
|
IsExternalExtensions bool `json:"isExternalExtensions"`
|
||
|
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
|
||
|
}
|
||
|
type CallbackDeleteMessageReactionExtResp struct {
|
||
|
*CommonCallbackResp
|
||
|
ResultReactionExtensionList []*msg.KeyValueResp `json:"resultReactionExtensionList"`
|
||
|
MsgFirstModifyTime int64 `json:"msgFirstModifyTime"`
|
||
|
}
|