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

41 lines
1.3 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-11-08 17:10:27 +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 {
2022-12-06 21:26:47 +08:00
//*commonPb.OfflinePushInfo
2022-07-29 14:36:07 +08:00
UserStatusBaseCallback
2022-09-09 11:00:15 +08:00
ClientMsgID string `json:"clientMsgID"`
2022-07-29 14:36:07 +08:00
SendID string `json:"sendID"`
GroupID string `json:"groupID"`
ContentType int32 `json:"contentType"`
SessionType int32 `json:"sessionType"`
AtUserIDList []string `json:"atUserIDList"`
Content string `json:"content"`
2022-12-01 14:55:30 +08:00
Seq uint32 `json:"seq"`
2022-07-29 14:36:07 +08:00
}
type CallbackBeforeSuperGroupOnlinePushResp struct {
2022-11-08 17:10:27 +08:00
*CommonCallbackResp
2022-09-21 16:14:57 +08:00
UserIDList []string `json:"userIDList"`
OfflinePushInfo *commonPb.OfflinePushInfo `json:"offlinePushInfo"`
2022-07-29 14:36:07 +08:00
}