Andrea Maria Piana 61bbbdde58
Revert "Change NotifyUsers to allow only data JSON element. Part of status-im/status-react#6772" (#1347)
This reverts commit cddf2e1c6cdbdea77307eadac9f25af874e3d723.
2019-01-14 13:09:51 +01:00

13 lines
342 B
Go

package fcm
import (
gofcm "github.com/NaySoftware/go-fcm"
)
// FirebaseClient is a copy of "go-fcm" client methods.
type FirebaseClient interface {
NewFcmRegIdsMsg(tokens []string, body interface{}) *gofcm.FcmClient
Send() (*gofcm.FcmResponseStatus, error)
SetNotificationPayload(payload *gofcm.NotificationPayload) *gofcm.FcmClient
}