mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
21 lines
428 B
Go
21 lines
428 B
Go
package push
|
|
|
|
import "Open_IM/pkg/common/constant"
|
|
|
|
var PushTerminal = []int{constant.IOSPlatformID, constant.AndroidPlatformID}
|
|
|
|
type OfflinePusher interface {
|
|
Push(userIDList []string, title, detailContent, operationID string, opts PushOpts) (resp string, err error)
|
|
}
|
|
|
|
type PushOpts struct {
|
|
Signal Signal
|
|
IOSPushSound string
|
|
IOSBadgeCount bool
|
|
Data string
|
|
}
|
|
|
|
type Signal struct {
|
|
ClientMsgID string
|
|
}
|