@dp.message_handler(content_types=['photo'])
                async def handle_docs_photo(message):
                    try:
                        chat_id = message.chat.id
                        file_info_1 = message.photo[-1].file_id
                        await bot.get_file(message.photo[-1].file_id)
                        await bot.send_message(message.chat.id, file_info_1)
                        downloaded_file = file_info_1.file_path
                        await bot.download_file(file_info_1.file_path)
                        src =dir +'\\' + file_info_1.file_path.split('/')[-1]
                        await bot.send_message(message.chat.id, src)
                        with open(src, 'wb') as new_file:
                            new_file.write(downloaded_file)
                    except Exception as e:
                        print(e)await bot.send_message(message.from_user.id, 
                                       'Привет '+hlink(f'{message.from_user.first_name}',
                                        f'https://t.me/{message.from_user.username}'),
                           disable_web_page_preview =True,
                           parse_mode=types.ParseMode.HTML)from aiogram.utils.markdown import hlink<a href=f'https://t.me/{message.from_user.username}> f'{message.from_user.first_name}' </a>@dp.callback_query_handler(lambda call: True)
        async def ok(call):
            if call.data == 'yes':