Echo bot working

bot is not answering . will u please check what is the issue

hey @saini.harsh22 ,
just downgrade your python-telegram-bot version to 12.8 and it will work fineeeee

how to downgrade python-telegram-bot version

just simply run the command
pip install python-telegram-bot==12.8

ERROR-Update ‘<telegram.ext.callbackcontext.CallbackContext object at 0x04CB5FE8>’ caused error ‘‘CallbackContext’ object has no attribute ‘message’’ same error occured something wrong with code i think please help

import logging from telegram.ext import Updater, CommandHandler, MessageHandler, Filters # enable logging logging.basicConfig(format=’%(asctime)s-%(name)s-%(levelname)s-%(message)s’, level = logging.INFO) logger = logging.getLogger(name) TOKEN = “1432780373:AAFYXpaonmaRH_eIrdYnYtm58OcDWOkisD0” def start(bot,update): print(update) author = update.message.from_user.first_name reply = “Hi {}”.format(author) bot.send_message(chat_id=update.message.chat_id,text = reply) def _help(bot,update): help_txt = “Hey! This is a help text.” bot.send_message(chat_id=update.message.chat_id,text = help_txt) def echo_text(bot,update): reply = update.message.text bot.send_message(chat_id=update.message.chat_id,text=reply) def echo_sticker(bot,update): bot.send_sticker(chat_id=update.message.chat_id,sticker=update.message.sticker.file_id) def error(bot,update): logger.error(“Update ‘%s’ caused error ‘%s’”,update,update.error) def main(): updater = Updater(TOKEN) dp = updater.dispatcher dp.add_handler(CommandHandler(“start”,start)) dp.add_handler(CommandHandler(“help”,_help)) dp.add_handler(MessageHandler(Filters.text,echo_text)) dp.add_handler(MessageHandler(Filters.sticker,echo_sticker)) dp.add_error_handler(error) updater.start_polling() logger.info(“Started polling…”) updater.idle() if name == “main”: main()

this is the error we get with version 13.0 , as there is some update in syntax.
So , kindly shift your version from 13.0 to 12.8 and then try this , it will work,

dont share your code like this , its quite messy here.
Hence , i can’t understand this.