FolderID = FunctionParameters["Bitrix24_HookFolderID"]; FileID = FunctionParameters["Bitrix24_FileID"]; URL = FunctionParameters["Bitrix24_URL"]; Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID); FolderID = FunctionParameters["Bitrix24_FolderID"]; URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token); Check_BitrixObject(Result);