import sys
try:
    import telegram
    print(f"Telegram library found. Version: {telegram.__version__}")
    from telegram import Bot
    print("Bot class imported successfully.")
except ImportError as e:
    print(f"ImportError: {e}")
except Exception as e:
    print(f"Error during import: {e}")
