I'm confused about this job queue thing. In the callback function I want to get access to the users message and work on it but in the article says that the call back accepts only bot and job parameters. with those in hand I can not get access to the update.message.text
. So for example I want to rewrite the following function as a callback one which I can't figure it out:
def echo(bot,update):
if tldextract.extract(update.message.text).registered_domain:
bot.send_message(chat_id= update.message.chat_id, text="OK")
What am I missing here?