• Opens a chat interface

    • Reveals the messenger if hidden.
    • For an undefined chatId, a new chat is created. Any provided message populates the chat input. The support bot initializes if active.
    • If a chat with the given chatId exists, the chat will open, and the message parameter will be disregarded.
    • If no matching chat exists, the home view opens.
    • Caution: Utilizing this function outside a click event may cause issues in iOS Safari.

    Parameters

    • Optional chatId: string | number

      ID of the chat to reveal.

    • Optional message: string

      Optional text to populate the chat input field.

    Returns void

Generated using TypeDoc