• Get subscription list handler

    Parameters

    • chatService: ChatDataService

      injected service use to handle the chat related operations

      • getPaginatedSubscriptions
    • paginationConfig: defaultChat.PaginationConfig

      injected pagination config

    • 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: subscription list

    Description

    This handler will get subscription list by applying the following steps in sequence:

    1. Get paginated subscription list (chatService.getPaginatedSubscriptions)

    2. Return the subscription list

Generated using TypeDoc