DEV Community

desertlion
desertlion

Posted on

2 1

Extend Qiscus Multichannel Widget Functionality with Custom Callbacks

In the previous part of the series, we have learned how to modify the display of our widget by using CSS. In this tutorial, I'll show you how you can extend the functionality of the widget by using custom callbacks.

By using custom callbacks, you can add more functionality for example if you want to log the user state to your own analytics server when the user has successfully logged in, or successfully opened a chat session.

For a detailed explanation, please check this interactive screencast

Basically, you just need to pass a parameter called Callbacks as a 2nd parameter to the Qismo object. Refer to the screencast above for a working example.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay