the bot like /name
bot send :
whats is your name ?
and bot wait until get text from the user
then the bot send :
your name is {name user send it}
I think I understand what you're talking about but can't find it there. No, but you can use scenes const scene = new Scene('getName') scene.enter(ctx => ctx.reply('What's your name?') scene.on('message', ctx => ctx.reply(`Hi, ${ctx message.text}`))
Обсуждают сегодня