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.
68 lines
1.1 KiB
68 lines
1.1 KiB
package call_back_struct
|
|
|
|
type msg struct {
|
|
SendID string `json:"sendID"`
|
|
ClientMsgID string `json:"clientMsgID"`
|
|
ServerMsgID string `json:"serverMsgId"`
|
|
CreateTime int64 `json:"createTime"`
|
|
Content []byte `json:"content"`
|
|
}
|
|
|
|
type singleMsg struct {
|
|
msg
|
|
RecvID string `json:"recvID"`
|
|
}
|
|
|
|
type CallbackBeforeSendSingleMsgReq struct {
|
|
CommonCallbackReq
|
|
singleMsg
|
|
}
|
|
|
|
type CallbackBeforeSendSingleMsgResp struct {
|
|
CommonCallbackResp
|
|
singleMsg
|
|
}
|
|
|
|
type CallbackAfterSendSingleMsgReq struct {
|
|
CommonCallbackReq
|
|
singleMsg
|
|
}
|
|
|
|
type CallbackAfterSendSingleMsgResp struct {
|
|
CommonCallbackResp
|
|
}
|
|
|
|
type groupMsg struct {
|
|
msg
|
|
GroupID string `json:"groupID"`
|
|
}
|
|
|
|
type CallbackBeforeSendGroupMsgReq struct {
|
|
CommonCallbackReq
|
|
groupMsg
|
|
}
|
|
|
|
type CallbackBeforeSendGroupMsgResp struct {
|
|
CommonCallbackResp
|
|
groupMsg
|
|
}
|
|
|
|
type CallbackAfterSendGroupMsgReq struct {
|
|
groupMsg
|
|
CommonCallbackReq
|
|
}
|
|
|
|
type CallbackAfterSendGroupMsgResp struct {
|
|
CommonCallbackResp
|
|
}
|
|
|
|
type CallbackWordFilterReq struct {
|
|
CommonCallbackReq
|
|
Content []byte `json:"content"`
|
|
}
|
|
|
|
type CallbackWordFilterResp struct {
|
|
CommonCallbackResp
|
|
Content []byte `json:"content"`
|
|
}
|