The command exited with code 0.
Output:
bot.action('CHOOSE_WITH_NAME_EID', async (ctx) => {
const userId = ctx.chat.id;
const session = sessions[userId];
if (!session) return;
ctx.answerCbQuery().catch(() => { });
ctx.editMessageText('👤 Please enter the Name on Aadhaar:', { parse_mode: 'HTML' });
session.step = 'WAITING_FOR_NAME_VAL_EID';
});
bot.action('CHOOSE_WITHOUT_NAME_EID', async (ctx) => {
const userId = ctx.chat.id;
const session = sessions[userId];
if (!session) return;
ctx.answerCbQuery().catch(() => { });
session.retrievedName = '';
ctx.editMessageText('📅 Select DOB Verification:', {
parse_mode: 'HTML',
...Markup.inlineKeyboard([
[{ text: 'DOB', callback_data: 'CHOOSE_WITH_DOB_EID', style: 'primary' }],
[{ text: 'No DOB', callback_data: 'CHOOSE_WITHOUT_DOB_EID', style: 'primary' }]
])
});