Answer the question
In order to leave comments, you need to log in
How to get a chat ID in Bitrix24?
In Bitrix24, you can add a user to a group chat using the API
https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
Question: How can I find out the "Chat ID" - where can I see it?
I did not find it in Bitrix24 itself.
$result = restCommand('imbot.chat.user.add', Array(
'CHAT_ID' => 13 // Идентификатор чата
'USERS' => Array(3,4) // Идентификаторы новых пользователей
'BOT_ID' => 39, // Идентификатор чат-бота, от которого идет запрос. Можно не указывать, если чат-бот всего один
), $_REQUEST["auth"]);
Answer the question
In order to leave comments, you need to log in
https://helpdesk.bitrix24.ru/open/5504913/
Enter the command in the desired chat:
/getDialogId – получить идентификатор чата для внешних интеграций
Question: How can I find out the "Chat ID" - where can I see it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question