telegraf force_reply

JavaScript
bot.command('test', ctx.reply('Hey', Extra.markup(Markup.forceReply())))
Source

Also in JavaScript: