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/_defer.js

javascript · 35 lines

Raw
1/**#command2name: /defer3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12Api.answerCallbackQuery({13  callback_query_id: request.id14});15 16let currentStatus = User.getProperty("bot_status") || "active";17let newStatus = (currentStatus == "active") ? "paused" : "active";18 19User.setProperty("bot_status", newStatus, "string");20 21let statusText = (newStatus == "paused")22  ? "⏸️ <b>Auto-Accept Status: DEFERRED (PAUSED)</b>\n\nAbhi nayi requests accept hona ruk gayi hain."23  : "▶️ <b>Auto-Accept Status: ACTIVE</b>\n\nAb requests instant approve hona shuru ho gayi hain.";24 25let backBtn = [26  [{ text: "🔙 Back to Dashboard", callback_data: "/verify" }]27];28 29Api.sendMessage({30  text: statusText,31  parse_mode: "HTML",32  reply_markup: {33    inline_keyboard: backBtn34  }35});