Optically and electrically driven nanoantennas