Getting exception : AttributeError __aenter__
Getting exception : AttributeError __aenter__ Question: I get this exception: "Exception has occurred: AttributeError __aenter__" in line async with bot:. (I entered the token). Please help import asyncio import telegram async def main(): bot = telegram.Bot("token") async with bot: print(await bot.get_me()) if __name__ == ‘__main__’: asyncio.run(main()) I found this code here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Introduction-to-the-API Asked By: aboka …