Options
All
  • Public
  • Public/Protected
  • All
Menu
class
classdesc

Consists of all methods where notification(s) come into picture

Hierarchy

  • notificationService

Index

Methods

Static sendNotification

  • sendNotification(user: any, data: any): Promise<void>
  • function

    sendNotification

    description

    Sends a notification

    Parameters

    • user: any

      User details of a particular user

    • data: any

      Information about the chat message

    Returns Promise<void>

Static sendNotify

  • sendNotify(data: any, url: any, authorizationKey?: number): Promise<void>
  • function

    sendNotify

    description

    Sends a notification

    Parameters

    • data: any

      Data to be sent

    • url: any

      URL of notification Web Object

    • Default value authorizationKey: number = 0

      Authorization key of firebase for push notification(s)

    Returns Promise<void>

Static webNotify

  • webNotify(webDevIds: any, user: any, data: any): Promise<void>
  • function

    webNotify

    description

    Notifies the web application

    Parameters

    • webDevIds: any

      Array of device IDs where web app runs

    • user: any

      User details of a particular user

    • data: any

      Message information

    Returns Promise<void>

Generated using TypeDoc