ReplyKeyboardMarkup

Its not identifying keyboard topics as news categories instead the bot is doing conversation

Can you share your code with me ,so I can look into it .
You can do this by uploading your code on GitHub and sharing it’s link with me

i m sharing the dropbox link :
app.py
utils.py

Try removing the main function. You dont need it .
Also write this-

if __name__ == '__main__':
    bot = Bot(TOKEN)
    try:
        bot.set_webhook("https://fast-citadel-82627.herokuapp.com/"+TOKEN)
    except Exception as e:
        print(e)
 
    dp = Dispatcher(bot,None)
 
    dp.add_handler(CommandHandler("start",start))
    dp.add_handler(CommandHandler("help",_help))
    dp.add_handler(CommandHandler("news",news))  
    #dp.add_handler(MessageHandler(Filters.text,echo_text))
    dp.add_handler(MessageHandler(Filters.text,reply_text))
    dp.add_handler(MessageHandler(Filters.sticker,echo_sticker))
    dp.add_error_handler(error)
    app.run(port=8443)

Remove print(update) statement from line 32

Its not working in fact the bot stopped responding.

so i did this as instructor asked in the video -
bot = Bot(TOKEN)
try:
bot.set_webhook("https://fast-citadel-82627.herokuapp.com/"+TOKEN)
except Exception as e:
print(e)

dp = Dispatcher(bot,None)

dp.add_handler(CommandHandler("start",start))
dp.add_handler(CommandHandler("help",_help))
dp.add_handler(CommandHandler("news",news))
#dp.add_handler(MessageHandler(Filters.text,echo_text))
dp.add_handler(MessageHandler(Filters.text,reply_text))
dp.add_handler(MessageHandler(Filters.sticker,echo_sticker))
dp.add_error_handler(error)

if __name__ == '__main__':
    app.run(port=8443)

Still facing same problem!

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.