• Initiates a chat by triggering a specified support bot.

    • Reveals the messenger if hidden.
    • Activates the support bot identified by the given supportBotId.
    • No action is taken if supportBotId is not specified.
    • Shows an error page if a support bot with the specified supportBotId does not exist.
    • Populates the chat input with message upon support bot completion if provided.
    • Caution: Utilizing this function outside a click event may cause issues in iOS Safari.

    Parameters

    • supportBotId: string

      Identifier of the targeted support bot.

    • Optional message: string

      Optional message to populate the chat input field post support bot action.

    Returns void

Generated using TypeDoc