takenet/blip-chat-widget

Função withTarget não funciona

Opened this issue · 0 comments

<htmL>

<head>
  <script src="https://unpkg.com/blip-chat-widget" type="text/javascript">
  </script>
  <script>
    (function () {
      window.onload = function () {
        new BlipChat()
          .withAppKey('APP_KEY')
          .withButton({ "color": "#be6c10", "icon": "" })
          .withTarget('bot')
          .build();
      }
    })();
  </script>
</head>

<body>
  <div id='bot'>
    //seu bot vai aqui
  </div>
</body>

</html>

dá o seguinte erro e não carrega o bot

Screen Shot 2022-04-26 at 09 42 28