open-im-server/internal/push/push_interface.go
wangchuxiao 5be441f4fd errcode
2023-02-20 10:13:29 +08:00

19 lines
297 B
Go

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