Files
open-im-server/pkg/call_back_struct/push.go
T

38 lines
1.1 KiB
Go
Raw Normal View History

2022-05-26 18:02:00 +08:00
package call_back_struct
import commonPb "Open_IM/pkg/proto/sdk_ws"
2022-07-29 14:36:07 +08:00
type CallbackBeforePushReq struct {
UserStatusBatchCallbackReq
2022-05-26 18:02:00 +08:00
*commonPb.OfflinePushInfo
2022-09-09 10:58:38 +08:00
ClientMsgID string `json:"clientMsgID"`
2022-05-27 19:33:47 +08:00
SendID string `json:"sendID"`
GroupID string `json:"groupID"`
ContentType int32 `json:"contentType"`
SessionType int32 `json:"sessionType"`
AtUserIDList []string `json:"atUserIDList"`
2022-07-29 14:36:07 +08:00
Content string `json:"content"`
2022-05-26 18:02:00 +08:00
}
2022-07-29 14:36:07 +08:00
type CallbackBeforePushResp struct {
2022-05-27 10:26:44 +08:00
*CommonCallbackResp
2022-08-19 13:04:38 +08:00
UserIDList []string `json:"userIDList"`
OfflinePushInfo *commonPb.OfflinePushInfo `json:"offlinePushInfo"`
2022-05-26 18:02:00 +08:00
}
2022-07-29 14:36:07 +08:00
type CallbackBeforeSuperGroupOnlinePushReq struct {
*commonPb.OfflinePushInfo
UserStatusBaseCallback
SendID string `json:"sendID"`
GroupID string `json:"groupID"`
ContentType int32 `json:"contentType"`
SessionType int32 `json:"sessionType"`
AtUserIDList []string `json:"atUserIDList"`
Content string `json:"content"`
}
type CallbackBeforeSuperGroupOnlinePushResp struct {
*CommonCallbackResp
UserIDList []string `json:"userIDList"`
}