Gets the Messaging service for the
default app or a given app.
admin.messaging() can be called with no arguments to access the default
app's Messaging service or as
admin.messaging(app) to access the
Messaging service associated with a
specific app.
example
// Get the Messaging service for the default appvar defaultMessaging = admin.messaging();
example
// Get the Messaging service for a given appvar otherMessaging = admin.messaging(otherApp);
Gets the
Messagingservice for the default app or a given app.admin.messaging()can be called with no arguments to access the default app'sMessagingservice or asadmin.messaging(app)to access theMessagingservice associated with a specific app.// Get the Messaging service for the default app var defaultMessaging = admin.messaging();// Get the Messaging service for a given app var otherMessaging = admin.messaging(otherApp);