Skip to main content

Disable chat notifications

Disable chat notifications

Function DisableChatNotifications(Val URL, Val ChatID, Val Token = "") Export

ParameterCLI optionTypeRequiredDescription
URL--urlStringURL of webhook or a Bitrix24 domain, when token used
ChatID--chatString, NumberChat ID
Token--tokenStringAccess token, when app auth method used

Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API

tip

Method at API documentation: im.chat.mute


1C:Enterprise/OneScript code example
    URL    = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
ChatID = "3956";

Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);

URL = "b24-ar17wx.bitrix24.by";
Token = "bafe5c69006e9f06006b12e400000001000...";
ChatID = "3958";

Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
    oint bitrix24 DisableChatNotifications \
--url "b24-ar17wx.bitrix24.by" \
--chat "***" \
--token "***"
Result
{
"result": true,
"time": {
"start": 1767709376,
"finish": 1767709376.16024,
"duration": 0.160237073898315,
"processing": 0,
"date_start": "2026-01-06T14:22:56+00:00",
"date_finish": "2026-01-06T14:22:56+00:00",
"operating_reset_at": 1767709976,
"operating": 0
}
}