open-im-server/internal/push/push_interface.go
wangchuxiao 94d50a6c71 push
2023-02-22 19:51:14 +08:00

19 lines
304 B
Go

package push
import "context"
type OfflinePusher interface {
Push(ctx context.Context, userIDs []string, title, content string, opts *Opts) error
}
type Opts struct {
Signal *Signal
IOSPushSound string
IOSBadgeCount bool
Ex string
}
type Signal struct {
ClientMsgID string
}