mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
19 lines
304 B
Go
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
|
|
}
|