Почему?
Как я могу это исправить ?
Код: Выделить всё
def Click_Button(update, context) :
query = update.callback_query
if query.data == "Research":
ask_wikipedia(update, context)
query_handler = CallbackQueryHandler(Click_Button)
dispatcher.add_handler(query_handler)
def ask_wikipedia(update, context) :
update.message.reply_text('What do you want to know about ? 🔎')
return About
Код: Выделить всё
AttributeError: 'NoneType' object has no attribute 'reply_text'
Подробнее здесь: https://stackoverflow.com/questions/665 ... tribute-re