Vikashsahu18/Fastreq_accept_botPublic · Bot Template

ProfileTelegram

AIFast_accept_bot appears to be a Telegram automation bot. Commands include /start, /verify, /setgreeting, /savegreeting, /defer, /delchannel, /chat_join_request, /clone. Observed in code: messaging, keyboards, http, web.

Utilityutility
17 commands0 envUpdated 1mo agoCreated Sep 30, 2026
Back to folder

commands/chat_join_request.js

javascript · 48 lines

Raw
1/**#command2name: chat_join_request3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// Raw payload se chat aur user ID capture karna13let data = request.chat_join_request || request;14let chatId = data.chat ? data.chat.id : null;15let userId = data.from ? data.from.id : null;16 17if (chatId && userId) {18  // 1. Direct Telegram API Call: Request Instant Approve19  HTTP.post({20    url: "https://api.telegram.org/bot" + bot.token + "/approveChatJoinRequest",21    body: {22      chat_id: chatId,23      user_id: userId24    }25  });26 27  // 2. Greeting Letter Format Setup28  let userGreeting = User.getProperty("custom_greeting") || 29    "Thanks for join my channel 🫰💖\nPin the channel and get first SUREBET ❤️\nAny problem - @vikash_sahu55";30 31  // 3. Bot Maker & Owner Promotion (Unremovable Credit)32  let permanentCredit = "\n\n━━━━━━━━━━━━━━━━━━━━\n" +33                        "🤖 <b>Bot Maker:</b> @" + bot.name + "\n" +34                        "👑 <b>Admin:</b> <a href='https://t.me/vikash_sahu55'>Vikash Sahu</a>";35 36  let finalMessage = userGreeting + permanentCredit;37 38  // 4. User ke Inbox (DM) me Greeting bhejna39  HTTP.post({40    url: "https://api.telegram.org/bot" + bot.token + "/sendMessage",41    body: {42      chat_id: userId,43      text: finalMessage,44      parse_mode: "HTML",45      disable_web_page_preview: true46    }47  });48}