1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
Vitaly the Alpaca (bot) ab33d2f19d Main build (Jenkins)
2024-09-17 12:29:46 +03:00

14 lines
485 B
Plaintext

Name = "New file name.jpg";
Filename2 = "New file name 2.jpg";
FileID2 = FunctionParameters["Bitrix24_HookFileID"];
URL = FunctionParameters["Bitrix24_URL"];
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
FileID = FunctionParameters["Bitrix24_FileID"];
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);