give_photo = self.vk.method('messages.getHistoryAttachments', {'peer_id': id, 'media_type': 'photo', 'count': 1})['items']
photo = give_photo[0]['attachment']['photo']
owner_id = photo['owner_id']
media_id = photo['id']
photo_url = f'photo{owner_id }_{media_id}'
vk_session.method('messages.send', {... 'attachment': photo_url})