Opens messenger window.

Function parameters

Parameter Description
dialogId Dialog ID:
  • userId or chatXXX - chat, whee XXX - chat ID, it can be just a single digit.
  • sgXXX - group chat, where XXX - social network group number (chat should be permitted in this group).
  • imol|XXXX - open channel, where XXX - is the code, retrieved via REST method
If nothing is passed, chat interface will open with the last started dialog.

© «Bitrix24», 2001-2024