The command exited with code 0.
Output:
3337- const session = sessions[userId];
3338- if (!session) return;
3339-
3340- ctx.answerCbQuery().catch(() => { });
3341- ctx.editMessageText('⏳ Loading... Please wait.', { parse_mode: 'HTML' });
3342: session.step = session.pdfPhase ? 'SOLVING_CAPTCHA_PDF' : 'SOLVING_CAPTCHA';
3343- await autoSolveAndRequestOtp(ctx, session, 1);
3344-});
3345-
3346-bot.action('CAPTCHA_MANUAL', async (ctx) => {
3347- const userId = ctx.chat.id;
--
3368- if (!session) return;
3369- ctx.answerCbQuery().catch(() => { });
3370-
3371- ctx.deleteMessage().catch(() => { });
3372- session.dob = null;
3373: session.step = 'SOLVING_CAPTCHA';
3374-bot.action('CACHE_CONFIRM_NO', async (ctx) => {
3375- const userId = ctx.chat.id;
3376- const session = sessions[userId];
3377- ctx.answerCbQuery().catch(() => { });
3378-
--
3517- const session = sessions[userId];
3518- if (!session) return;
3519- ctx.answerCbQuery().catch(() => { });
3520- ctx.deleteMessage().catch(() => { });
3521- session.dob = null;
3522: session.step = 'SOLVING_CAPTCHA_PDF';
3523- const ldr = await ctx.reply('⏳ Loading... Please wait.', { parse_mode: 'HTML' });
3524- await autoSolveAndRequestOtp(ctx, session, 1, ldr.message_id);
3525-});
3526-
3527-bot.action('CONTINUE_PDF', async (ctx) => {
--
3529- const session = sessions[userId];
3530- if (!session) return;
3531- ctx.answerCbQuery().catch(() => { });
3532- session.pdfPhase = true;
3533- session.serviceType = 'DOWNLOAD_PDF';
3534: session.step = 'SOLVING_CAPTCHA_PDF';
3535- const ldr = await ctx.reply('⏳ Preparing PDF download... Please wait.', { parse_mode: 'HTML' });
3536- await autoSolveAndRequestOtp(ctx, session, 1, ldr.message_id);
3537-});
3538-
3539-bot.action(/DIRECT_RETRIEVE_(.+)/, async (ctx) => {
--
3631- return;
3632- }
3633-
3634- if (session.step === 'WAITING_FOR_DOB_VAL_EID') {
3635- session.dob = text;
3636: session.step = 'SOLVING_CAPTCHA_PDF';
3637- const ldr = await ctx.reply('⏳ Loading... Please wait.', { parse_mode: 'HTML' });
3638- await autoSolveAndRequestOtp(ctx, session, 1, ldr.message_id);
3639- return;
3640- }
3641-
--
3670- return;
3671- }
3672-
3673- if (session.step === 'WAITING_FOR_DOB_VAL') {
3674- session.dob = text;
3675: session.step = 'SOLVING_CAPTCHA';
3676- const ldr = await ctx.reply('⏳ Loading... Please wait.', { parse_mode: 'HTML' });
3677- await autoSolveAndRequestOtp(ctx, session, 1, ldr.message_id);
3678- return;
3679- }
3680-