URL = FunctionParameters["Bitrix24_URL"]; FileID = FunctionParameters["Bitrix24_HookFileID"]; Result = OPI_Bitrix24.DeleteFile(URL, FileID); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; FileID = FunctionParameters["Bitrix24_FileID"]; Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);