How Can We Help?

Open Mini Chats programmatically (WebSocket Version)

You are here:
< All Topics

With this JavaScript functions you can open mini chats by your own triggers programmatically.

Feel free to propose more functions via support.

* Open specific thread in mini chat
var thread_id = 5;
BBPMOpenMiniChat( thread_id, true ); // Open mini chat expanded
BBPMOpenMiniChat( thread_id, false ); // Open mini chat minimized

* Find or create private thread with specific user and open it in mini chat
var user_id = 5;
Table of Contents