Added photo and video message retrieving.