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?
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.