Comandos Bitrix

Прокси-вызовы методов Bitrix24 через Comandos API

Чат-бот: отправить сообщение

AI-generated

Summary

Send a message in a Bitrix24 chat from a specified chatbot.

Inputs

  • Текст сообщения (botMessageText) (required) — The text content of the message to send.
  • DIALOG_ID (botDialogId) (required) — The identifier of the chat dialog where the message will be sent.
  • BOT_ID (botId) (required) — The ID of the bot that will send the message.
  • CLIENT_ID (clientId) (required) — The client identifier related to the chat message.

Output shape

A list containing the Bitrix24 API response as JSON for each message sent.

The output holds the response from the 'imbot.message.add.json' method via Comandos API. Each input item produces a corresponding output item with the API response JSON.

Examples

Example 1: Send a text from a chatbot to a specific chat dialog in Bitrix24.

Set required parameters: 'Текст сообщения', 'DIALOG_ID', 'BOT_ID', and 'CLIENT_ID'. The operation is fixed to 'Чат-бот: отправить сообщение'.

Links

Discussion