Views: 1899
Last Modified: 22.08.2022

This method opens messenger window

Method call

<script>
    BX24.im.openMessenger('dialogId');
</script>
Parameters:
  • dialogId - conversation/dialog ID:
    • userId or chatXXX - chat, where XXX - chat ID (can be just a number).
    • sgXXX - group chat, where XXX - social network group number (chat must be permitted in this group).
    • imol|XXXX - open channel, where XXX - code, retrieved via REST method imopenlines.network.join.

In case of passing nothing, opens chat interface with the recent opened conversation.





Courses developed by Bitrix24