Go to console

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