BotMate uses Grammy's conversation API.
To create a command that uses conversation, follow the given step -
Create a command with the following content:
Create conversation with the name
nameand paste the following script:
await Ctx.reply("What is your name?");
const nameCtx = await conversation.waitFor(":text");
await Ctx.reply("Hi, " + nameCtx.message.text);
Now save and restart your bot.
Don't forget to use