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/callbackstruct/push.go

41 lines
1.3 KiB

2 years ago
package callbackstruct
3 years ago
2 years ago
import common "Open_IM/pkg/proto/sdkws"
3 years ago
type CallbackBeforePushReq struct {
UserStatusBatchCallbackReq
2 years ago
*common.OfflinePushInfo
ClientMsgID string `json:"clientMsgID"`
3 years ago
SendID string `json:"sendID"`
GroupID string `json:"groupID"`
ContentType int32 `json:"contentType"`
SessionType int32 `json:"sessionType"`
AtUserIDList []string `json:"atUserIDList"`
Content string `json:"content"`
3 years ago
}
type CallbackBeforePushResp struct {
2 years ago
CommonCallbackResp
2 years ago
UserIDList []string `json:"userIDList"`
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
3 years ago
}
type CallbackBeforeSuperGroupOnlinePushReq struct {
2 years ago
//*common.OfflinePushInfo
UserStatusBaseCallback
ClientMsgID string `json:"clientMsgID"`
SendID string `json:"sendID"`
GroupID string `json:"groupID"`
ContentType int32 `json:"contentType"`
SessionType int32 `json:"sessionType"`
AtUserIDList []string `json:"atUserIDList"`
Content string `json:"content"`
2 years ago
Seq uint32 `json:"seq"`
}
type CallbackBeforeSuperGroupOnlinePushResp struct {
2 years ago
CommonCallbackResp
2 years ago
UserIDList []string `json:"userIDList"`
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
}