open-im-server/internal/push/offlinepush/offlinepush_interface.go
2023-03-03 19:59:10 +08:00

21 lines
316 B
Go

package offlinepush
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
}