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


登录以发表评论。

找不到所需的内容?

新建帖子