Open Messenger Window BX24.im.openMessenger

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

DEPRECATED

The development of this method has been halted. Please use Messenger.openChat.

The method BX24.im.openMessenger sends a command to open the messenger window.

void BX24.im.openMessenger([String dialogId])
        

Parameters

Name
type

Description

dialogId
string

Identifier of the dialog. Supported formats: userId or chatXXX for chat, sgXXX for group chat, `imol

XXXX` for Open Channels. If the parameter is not provided, the chat list interface will open.

Code Example

How to Use Examples in Documentation

BX24.init(function () {
            BX24.im.openMessenger('chat123');
        });
        

Response Handling

The method does not return data (void).

Continue Learning