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.
40 lines
1.2 KiB
40 lines
1.2 KiB
package callbackstruct
|
|
|
|
import common "OpenIM/pkg/proto/sdkws"
|
|
|
|
type CallbackBeforePushReq struct {
|
|
UserStatusBatchCallbackReq
|
|
*common.OfflinePushInfo
|
|
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"`
|
|
}
|
|
|
|
type CallbackBeforePushResp struct {
|
|
CommonCallbackResp
|
|
UserIDs []string `json:"userIDList"`
|
|
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
|
|
}
|
|
|
|
type CallbackBeforeSuperGroupOnlinePushReq struct {
|
|
UserStatusBaseCallback
|
|
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 {
|
|
CommonCallbackResp
|
|
UserIDs []string `json:"userIDList"`
|
|
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
|
|
}
|