pyrogram: Client produce KeyError while starting the bot – Telegram API
When I am starting my telegram bot by Pyrogram using the latest version v2.0.103 app = Client("BillyKaiChengBot",api_id="apiid",api_hash=os.environ['API'],bot_token=os.environ['TOKEN']) with app: #error produces here loginapp = app.send_message(channel_id, "login") #my own code #. #. #. app.run() This code can run smoothly until recently,…