Created At: 2026-11-18T04:51:31Z
Completed At: 2026-11-18T04:51:31Z
Command exited with code 0.
Command output:
otpData = await otpResponse.json();
console.timeEnd(tLabel('Backend Request'));
}
console.log(`[Attempt ${attempt}] Backend Response Status:`, otpResponse.status, otpData);
if (otpResponse.ok && otpData.status === "success") {
if (statusMessageId) ctx.telegram.deleteMessage(ctx.chat.id, statusMessageId).catch(() => { });
if (session.startLoaderId) {
ctx.telegram.deleteMessage(ctx.chat.id, session.startLoaderId).catch(() => { });
session.startLoaderId = null;
}
session.otpTxnId = otpData.otpTxnId || otpData.txnId;
ctx.reply(`š© OTP Sent Successfully!\n\nPlease enter the 6-digit OTP sent to your registered mobile number:\n\nš” Send /cancel to cancel this process.`, { parse_mode: 'HTML' });
session.step = (session.pdfPhase || session.serviceType === 'EID_TO_PDF') ? 'WAITING_FOR_PDF_OTP' : 'WAITING_FOR_OTP';