mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 04:25:59 +08:00
@@ -18,10 +18,12 @@ import (
|
||||
"context"
|
||||
)
|
||||
|
||||
// OfflinePusher Offline Pusher
|
||||
type OfflinePusher interface {
|
||||
Push(ctx context.Context, userIDs []string, title, content string, opts *Opts) error
|
||||
}
|
||||
|
||||
// Opts opts
|
||||
type Opts struct {
|
||||
Signal *Signal
|
||||
IOSPushSound string
|
||||
@@ -29,6 +31,7 @@ type Opts struct {
|
||||
Ex string
|
||||
}
|
||||
|
||||
// Signal message id
|
||||
type Signal struct {
|
||||
ClientMsgID string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user