Investigation of Gamma-Ray Burst light curves in different spectral ranges by means of gravitational lensing