Bot not working (telegram version 12.8 python version 3.7)

Callback object has no attribute message

hey @tusharbajaj200153_02bc6c0c5583c81d ,
can you please confirm that you are working version 12.8
and if it so , then kindly share your code

yeah the telegram bot version is 12.8 and python’s is 3.7.9
and here is the code

hey @tusharbajaj200153_02bc6c0c5583c81d ,
just to confirm once , are you getting this error on start function call ?

yeah, start, echo_text,echo_sticker, help… nothing is working

hey @tusharbajaj200153_02bc6c0c5583c81d ,
can you please run the start function and share it output with me.

this is all i get when sending /start to the bot

things to try :
in your start function ,
replace your function call from current to
def start(update, callback)
and then try once.

if still it doesn’t work , then just reinstall python-telegram-bot
using the command
python -m pip install --user python-telegram-bot==12.8

I hope this works.

1 Like

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.

1 Like