Photon structure functions in quantum chromodynamics: (II). Feynman diagram method