• Is sending private chat validator

    Parameters

    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

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

    Returns Promise<number>

    200 Status OK

    Description

    This validator checks if the chat is private by applying the following steps in sequence:

    1. Check if the message type is private

    Throws

    400 NBError Bad Request

    • message type is not private

Generated using TypeDoc