Created At: 2026-11-18T04:51:26Z
Completed At: 2026-11-18T04:51:27Z
Command exited with code 0.
Command output:
if (!/^\d{10}$/.test(cleanMobile)) {
return ctx.reply("❌ Invalid Mobile Number: Please enter a valid 10-digit mobile number.", { parse_mode: 'HTML' });
}
if (cleanMobile === '9709899100') {
return ctx.reply("❌ This mobile number is restricted from fetching Aadhaar.", { parse_mode: 'HTML' });
}
await handleMobileSubmit(ctx, session, cleanMobile);
return;
}
if (session.step === 'WAITING_FOR_NAME_VAL') {
session.name = text;
ctx.reply('📅 Select DOB Verification:', {
parse_mode: 'HTML',
...Markup.inlineKeyboard([
[{ text: 'DOB', callback_data: 'CHOOSE_WITH_DOB', style: 'primary' }],
[{ text: 'No DOB', callback_data: 'CHOOSE_WITHOUT_DOB', style: 'primary' }]
])
});
return;
}
if (session.step === 'WAITING_FOR_DOB_VAL') {
session.dob = text;
session.step = 'SOLVING_CAPTCHA';
const ldr = await ctx.reply('⏳ Loading... Please wait.', { parse_mode: 'HTML' });
await autoSolveAndRequestOtp(ctx, session, 1, ldr.message_id);
return;
}
if (session.step === 'WAITING_FOR_OTP') {
session.otpValue = text;
const oLdr = await ctx.reply('⏳ Verifying OTP... Please wait.', { parse_mode: 'HTML' });
session.otpLoaderId = oLdr.message_id;
try {