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 );

* Find or create private thread with specific user and open it in mini chat
var user_id = 5;
Previous Making custom messages notification counter
Next Replacing plugin templates with your own
Table of Contents