Files
open-im-server/internal/push/push_interface.go
T

16 lines
290 B
Go
Raw Normal View History

2022-04-05 10:27:34 +08:00
package push
2022-04-08 15:40:07 +08:00
type OfflinePusher interface {
2022-06-02 19:14:11 +08:00
Push(userIDList []string, alert, detailContent, operationID string, opts PushOpts) (resp string, err error)
}
type PushOpts struct {
2022-08-31 11:55:55 +08:00
Signal Signal
IOSPushSound string
IOSBadgeCount bool
2022-06-02 19:14:11 +08:00
}
type Signal struct {
ClientMsgID string
2022-04-05 10:27:34 +08:00
}