URL       = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
    MessageID = "11572";

    Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);

    URL       = "b24-ar17wx.bitrix24.by";
    Token     = "b529cb66006e9f06006b12e400000001000...";
    MessageID = "11574";

    Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);