Fabrication of heterogeneous bimetallic nanochains through photochemical welding for promoting the electrocatalytic hydrogen evolution reaction.