Ошибка в коде python TypeError: Updater.__init__() got an unexpected keyword argument 'token'
line 32, in <module>
updater = Updater(token='TELEGRAM_TOKEN', use_context=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Updater.__init__() got an unexpected keyword argument 'token'
python-telegram-bot 21.0.1
Bot API 7.1
Python 3.11.4
Как исправить ошибку?
По дате
По рейтингу
Используйте `updater = Updater('TELEGRAM_TOKEN', use_context=True)` без указания `token=`.