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

40 lines
1.2 KiB

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