Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Notification

Hierarchy

Index

Constructors

constructor

Properties

name

name: string

The service name for verbose logging.

options

transports

transports: object

Type declaration

  • Optional email?: Email
  • Optional firebase?: Firebase

Static EmailMessage

EmailMessage: EmailMessage = EmailMessage

Static FirebaseMessage

FirebaseMessage: FirebaseMessage = FirebaseMessage

Methods

send

  • Send a notification using the currently available and configured transporters.

    Parameters

    • message: EmailMessage | FirebaseMessage

      The notification to be sent, can be a Email message or a Firebase message.

    • Optional options: any

      The options to be sent to the Transporter

    Returns Promise<any>

Generated using TypeDoc