콘솔로 이동

Gets the Messaging service for the current app.

example
var messaging = app.messaging();
// The above is shorthand for:
// var messaging = admin.messaging(app);
returns

The Messaging service for the current app.

Index

Properties

app

app: App

The app associated with the current Messaging service instance.

example
var app = messaging.app;

Methods

send

  • send(message: Message, dryRun?: boolean): Promise<string>
  • Sends the given message via FCM.

    Parameters