• Patch message handler

    Parameters

    • notificationService: NotificationDataService

      injected service use to handle the notification related operations

      • updateOneMessage
    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query].

    Returns Promise<adapter.AdapterHandlerResponse>

    200 Status OK

    • data: message

    Description

    This handler will patch message by applying the following steps in sequence:

    1. Patch message (notificationService.updateOneMessage)

    2. Return the message

    Throws

    500 NBError Internal Server Error

    • patch message failed

Generated using TypeDoc