how do i customize my chat widget in react? Docs are not working



投稿日時:2023年1月13日

I tried to follow this docs and it doesn't work 

for example i tried 

 ZendeskAPI("webWidget:on", "chat:start", () =>
      console.log("chat has been started")
    );
 
But this docs is working fine 
but there is not much options to do in this docs like changing theme color etc.
 
how do i do it?

1

2

2件のコメント

Hi Abhishek,
 
It looks like you're using our Web SDK for the Messaging experience rather than live chat.  So the Classic Widget APIs are not applicable for your widget.  For your widget, you can either customize within the available admin settings or create a custom launcher to use on the page.

0


doing this 

 ZendeskAPI("webWidget:on", "chat:start", () =>
      console.log("chat has been started")
    );

i get the following error

Method webWidget:on.chat:start does not exist.

Check out the Developer API docs to make sure you're implementing it correctly, https://developer.zendesk.com/embeddables/docs/zendesk-sdk-for-web/getting_started

1


サインインしてコメントを残します。

お探しのものが見つかりませんか?

新規投稿