amanjha18v/AMAN_SHOPS_BOTPublic · Bot Template

AIAMAN SHOP STORE appears to be a Telegram automation bot. Commands include /*, /addbal, /addbal_all, /addbal_binance, /addbal_binance_approve, /addbal_binance_paid, /addbal_upi, /addcat_id. Observed in code: messaging, http, libs, keyboards, payments.

Utilityutility
ProfileTelegram
132 commands0 envUpdated 7h agoCreated Sep 4, 2026
Back to folder

commands/_support.js

javascript · 72 lines

Raw
1/**#command2name: /support3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13  if (request && request.id) {14    HTTP.post({15      url: "https://api.telegram.org/bot" + bot.token + "/answerCallbackQuery",16      body: { callback_query_id: request.id }17    });18  }19 20  var chatId = chat.chatid;21  var messageId = request && request.message ? request.message.message_id : null;22 23  var text = "━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n" +24             "<tg-emoji emoji-id='6039605143601680423'>📞</tg-emoji> <b>CUSTOMER SUPPORT CENTER</b>\n" +25             "━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n" +26             "<blockquote>" +27             "Welcome to our support desk. If you are facing any issues regarding keys, payments, or services, feel free to contact us.\n\n" +28             "Click the button below to get the admin contact link." +29             "</blockquote>";30 31  // ✅ FIXED: ab admin ka contact link Admin Panel se set kiya ja sakta hai32  // ("Set Support Link" button) — Bot.getProperty se dynamically load hota33  // hai, hardcoded username pe fix nahi rehta.34  var supportLink = Bot.getProperty("support_link") || "https://t.me/Galu_Modz_Owner";35 36  var keyboard = {37    inline_keyboard: [38      [39        {40          text: "Contact Admin",41          url: supportLink, 42          style: "primary", 43          icon_custom_emoji_id: "5346024644635804737" 44        }45      ],46      [47        {48          text: "Back",49          callback_data: "/back",50          style: "danger", 51          icon_custom_emoji_id: "5893163582194978381"52        }53      ]54    ]55  };56 57  var endpoint = messageId ? "editMessageText" : "sendMessage";58  var requestBody = {59    chat_id: String(chatId),60    text: text,61    parse_mode: "HTML",62    reply_markup: JSON.stringify(keyboard)63  };64 65  if (messageId) { requestBody.message_id = Number(messageId); }66 67  HTTP.post({68    url: "https://api.telegram.org/bot" + bot.token + "/" + endpoint,69    body: requestBody70  });71 72} catch (err) {}