You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
406 B
20 lines
406 B
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
|
|
}
|
|
|
|
type Signal struct {
|
|
ClientMsgID string
|
|
}
|