1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-07-03 00:58:12 +02:00

Переработка тестов для Yandex Disk

This commit is contained in:
Anton Titovets
2024-08-14 15:30:44 +03:00
parent 2b18cce44b
commit 6bf8d0f89e
438 changed files with 5437 additions and 4479 deletions

View File

@ -1,5 +1,5 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "522";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
@ -12,8 +12,8 @@
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Token = "7a63bc66006e9f06006b12e400000001000...";
ChatID = "524";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
FolderID = Directory["result"]["ID"];