Telegram bot doesn't work anymore. RuntimeWarning: coroutine 'Bot.send_message' was never awaited
My telegram bot doesn't send messages anymore. I get this error: "RuntimeWarning: coroutine 'Bot.send_message' was never awaited". from telegram import Bot bot_token = 'xxx' chat_id = 'xxx' message = 'TEST' bot = Bot(token=bot_token) bot.send_message(chat_id=chat_id, text=message)
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.