2023-02-09 16:11:18 +08:00
|
|
|
package callbackstruct
|
2022-05-26 18:02:00 +08:00
|
|
|
|
2023-02-23 19:15:30 +08:00
|
|
|
import common "OpenIM/pkg/proto/sdkws"
|
2022-05-26 18:02:00 +08:00
|
|
|
|
2022-07-29 14:36:07 +08:00
|
|
|
type CallbackBeforePushReq struct {
|
|
|
|
|
UserStatusBatchCallbackReq
|
2023-02-09 14:40:49 +08:00
|
|
|
*common.OfflinePushInfo
|
2023-02-20 10:13:29 +08:00
|
|
|
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"`
|
2022-05-26 18:02:00 +08:00
|
|
|
}
|
|
|
|
|
|
2022-07-29 14:36:07 +08:00
|
|
|
type CallbackBeforePushResp struct {
|
2023-02-14 19:28:57 +08:00
|
|
|
CommonCallbackResp
|
2023-02-22 19:51:14 +08:00
|
|
|
UserIDs []string `json:"userIDList"`
|
2023-02-09 14:40:49 +08:00
|
|
|
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
|
2022-05-26 18:02:00 +08:00
|
|
|
}
|
2022-07-29 14:36:07 +08:00
|
|
|
|
|
|
|
|
type CallbackBeforeSuperGroupOnlinePushReq struct {
|
|
|
|
|
UserStatusBaseCallback
|
2023-02-22 19:51:14 +08:00
|
|
|
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"`
|
2022-07-29 14:36:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CallbackBeforeSuperGroupOnlinePushResp struct {
|
2023-02-14 19:28:57 +08:00
|
|
|
CommonCallbackResp
|
2023-02-22 19:51:14 +08:00
|
|
|
UserIDs []string `json:"userIDList"`
|
2023-02-09 14:40:49 +08:00
|
|
|
OfflinePushInfo *common.OfflinePushInfo `json:"offlinePushInfo"`
|
2022-07-29 14:36:07 +08:00
|
|
|
}
|