ERROR-Update’<telegram.ext.callbackcontext.CallbackContext object at 0x0000022694F8F200>‘caused error’‘CallbackContext’ object has no attribute ‘message’’
After writing the code when i am writing (pyhton pv1.py) in cmd its showing this error
hey @tanujvats0002_111433f919bfdb0c ,
kindly check your python-telegram-bot version in 12.8 and not 13.+
if it is so , then downgrade it.
how to do check and degrade the bot version
run this code in python command prompt
import telegram
telegram.__version__
and see what it is
ya its 13.7 version then how to reduce it
pip install python-telegram-bot==12.8
use this command
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.