{"File":"/root/aadharbot/index.js","LineNumber":41,"LineContent":"function toSansBold(str) {"} {"File":"/root/aadharbot/index.js","LineNumber":46,"LineContent":"function toMono(str) {"} {"File":"/root/aadharbot/index.js","LineNumber":52,"LineContent":"function sanitizeError(msg) {"} {"File":"/root/aadharbot/index.js","LineNumber":90,"LineContent":"function checkIsAdmin(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":101,"LineContent":"function invalidateUserCache(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":117,"LineContent":"async function callApi(endpoint, options = {}) {"} {"File":"/root/aadharbot/index.js","LineNumber":129,"LineContent":"function dateDifferenceSeconds(d1Str, d2Str) {"} {"File":"/root/aadharbot/index.js","LineNumber":141,"LineContent":"function formatDateIST(date) {"} {"File":"/root/aadharbot/index.js","LineNumber":197,"LineContent":" async function initDb() {"} {"File":"/root/aadharbot/index.js","LineNumber":234,"LineContent":"function isExcludedMobile(mobile) {"} {"File":"/root/aadharbot/index.js","LineNumber":242,"LineContent":"async function saveSearchRecord(userId, searchType, name, mobileNumber, eid, aadhaarNumber, pdfPassword, pdfBuffer) {"} {"File":"/root/aadharbot/index.js","LineNumber":378,"LineContent":"async function checkSearchCache(serviceType, mobile, name, eid) {"} {"File":"/root/aadharbot/index.js","LineNumber":478,"LineContent":"async function getCachedRecordByMobile(mobile) {"} {"File":"/root/aadharbot/index.js","LineNumber":522,"LineContent":"// Helper function to send errors/logs to a specific Telegram topic (https://t.me/c/3938329952/2567)"} {"File":"/root/aadharbot/index.js","LineNumber":523,"LineContent":"async function sendErrorToTelegram(errorText) {"} {"File":"/root/aadharbot/index.js","LineNumber":782,"LineContent":"function saveFreeModeState() {"} {"File":"/root/aadharbot/index.js","LineNumber":790,"LineContent":"function isFreeModeActive() {"} {"File":"/root/aadharbot/index.js","LineNumber":804,"LineContent":"function parseDuration(str) {"} {"File":"/root/aadharbot/index.js","LineNumber":818,"LineContent":"async function triggerFreeModeBroadcast(durationText) {"} {"File":"/root/aadharbot/index.js","LineNumber":847,"LineContent":" async function sendNext() {"} {"File":"/root/aadharbot/index.js","LineNumber":867,"LineContent":"function applyFreeMode(data) {"} {"File":"/root/aadharbot/index.js","LineNumber":883,"LineContent":"function getApiHeaders(session = {}) {"} {"File":"/root/aadharbot/index.js","LineNumber":908,"LineContent":"async function getUserThreadId(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":929,"LineContent":"async function updateUserThreadId(userId, threadId, firstName = 'User') {"} {"File":"/root/aadharbot/index.js","LineNumber":955,"LineContent":"async function getOrCreateUserThread(ctx, userId, firstName, username) {"} {"File":"/root/aadharbot/index.js","LineNumber":995,"LineContent":"function setCooldown(userId, serviceType) {"} {"File":"/root/aadharbot/index.js","LineNumber":1002,"LineContent":"function checkCooldown(userId, serviceType) {"} {"File":"/root/aadharbot/index.js","LineNumber":1018,"LineContent":"async function checkChannelMembership(ctx, userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":1061,"LineContent":"async function checkUserAccess(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":1106,"LineContent":"async function getUserCredits(userId, name = 'User') {"} {"File":"/root/aadharbot/index.js","LineNumber":1147,"LineContent":"async function deductUserCredit(userId, amount = 1) {"} {"File":"/root/aadharbot/index.js","LineNumber":1174,"LineContent":"function cleanAddress(addr) {"} {"File":"/root/aadharbot/index.js","LineNumber":1179,"LineContent":"async function getDailyFreeNumSearches(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":1202,"LineContent":"async function incrementDailyFreeNumSearches(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":1225,"LineContent":"async function handleNumLookup(ctx, mobile) {"} {"File":"/root/aadharbot/index.js","LineNumber":1485,"LineContent":"async function isUserNew(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":1507,"LineContent":"async function registerNewUser(userId, firstName, referrerId = null) {"} {"File":"/root/aadharbot/index.js","LineNumber":1549,"LineContent":"async function showAuthorizedWelcomeMenu(ctx, userId, firstName, isNewUser, access) {"} {"File":"/root/aadharbot/index.js","LineNumber":1657,"LineContent":"async function handleMobileSubmit(ctx, session, cleanMobile) {"} {"File":"/root/aadharbot/index.js","LineNumber":1691,"LineContent":"async function startService(ctx, serviceType, directMobile = null) {"} {"File":"/root/aadharbot/index.js","LineNumber":2046,"LineContent":"function convertToCSV(headers, rows) {"} {"File":"/root/aadharbot/index.js","LineNumber":2283,"LineContent":"function parsePlanDurationDays(planDuration) {"} {"File":"/root/aadharbot/index.js","LineNumber":2301,"LineContent":"async function assignPlanToUser(targetUserId, planDuration) {"} {"File":"/root/aadharbot/index.js","LineNumber":2334,"LineContent":"async function isUserAdmin(userId) {"} {"File":"/root/aadharbot/index.js","LineNumber":2437,"LineContent":" async function sendNext() {"} {"File":"/root/aadharbot/index.js","LineNumber":2501,"LineContent":"async function updateBroadcastStatus() {"} {"File":"/root/aadharbot/index.js","LineNumber":2526,"LineContent":"async function sendBroadcastSummary(status) {"} {"File":"/root/aadharbot/index.js","LineNumber":2555,"LineContent":"async function runBroadcastStep() {"} {"File":"/root/aadharbot/index.js","LineNumber":3124,"LineContent":"async function fetchManualCaptcha(ctx, session) {"} {"File":"/root/aadharbot/index.js","LineNumber":3149,"LineContent":"async function autoSolveAndRequestOtp(ctx, session, attempt = 1, statusMessageId = null) {"} (...4 more results not shown)