how register next step handler in pyrogram?

79 Views Asked by At

I can't find similar method like in telebot, it should be one Time handler to ask user something and after user send something we can work with this update object

I tried this code from stackoverflow

bot = Client("bot")


@bot.on_message(filters.command('start'))
def start(bot, msg):
    x=input
    bot.send_message(msg.chat.id,text=x)
    
bot.run()

.

>>>AttributeError: 'Chat' object has no attribute 'ask'

maybe someone know how implement this in program,

0

There are 0 best solutions below