Files
open-im-server/internal/push/offlinepush/offlinepush_interface.go
T

21 lines
316 B
Go
Raw Normal View History

2023-06-30 09:45:02 +08:00
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
}