fcm

package
v2.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fcm

type Fcm struct {
	// contains filtered or unexported fields
}

func NewFcm

func NewFcm(credentialsFilePath string) (fcm *Fcm, err error)

func (*Fcm) Send

func (f *Fcm) Send(ctx context.Context, topic, title, body, imageURL string, message map[string]string) (messageID string, err error)

func (*Fcm) SendWithoutNotification added in v2.14.0

func (f *Fcm) SendWithoutNotification(ctx context.Context, topic string, message map[string]string) (messageID string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL