while sending a sticker it is giving an error :
‘Update’ object has no attribute ‘send_sticker’.
while sending a sticker it is giving an error :
‘Update’ object has no attribute ‘send_sticker’.
hey @palashrai31 ,
can you please check that you have made a send_sticker function and also added it with handlers.
sir,
the echo bot is running perfectly fine except for the sticker function, not able to get back a sticker in reply.
here is my code link and error pic attached with this
like the way you are providing parameters to other function that are being handled by handlers , in the same way you also need to provide parameters to echo_sticker function
i did that too sir but still getting the same error .
secondly while creating updater if i change the user_context to false then echo_sticker is working but the rest of the functionality isnt
i didn’t get that,
can you please provide any screenshot
if made changes in the user_context = False
the sticker is working fine but the other functionalities are giving error.
you dont need do this.
like the way you have made the function message_handler definition , do it same in echo_sticker also.
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.