You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -34,7 +34,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
ChatID = "1846";
|
||||
ChatID = "1956";
|
||||
File = "https://api.athenaeum.digital/test_data/document.docx"; // Binary Data, URL or path to file
|
||||
Description = "Very important file";
|
||||
|
||||
@@ -47,8 +47,8 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "9d50a767006e9f06006b12e400000001000...";
|
||||
ChatID = "1848";
|
||||
Token = "67c7a767006e9f06006b12e400000001000...";
|
||||
ChatID = "1958";
|
||||
|
||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
FolderID = Directory["result"]["ID"];
|
||||
|
||||
Reference in New Issue
Block a user