kkapil9112/Aestheticmodes9_botPublic · Bot Template
AIA Telegram-based digital goods store bot with a full admin panel for managing products, plans, stock, keys, categories, resellers, balances, and coupons. It uses TeleBotHost APIs like Bot, Api, User, Libs.ResourcesLib, and HTTP to run a shop interface, handle admin-only commands, track users, and send inventory/balance summaries. The implementation appears focused on selling game-related accounts and keys such as FreeFire items, with customer-facing store, balance, coupon, and back-to-menu flows.
Commerceshopadmin-panelbalanceresellercouponsstock-management
102 commands1 envUpdated 29d agoCreated Aug 9, 2026
commands/_support.js
javascript · 67 lines
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 var keyboard = {32 inline_keyboard: [33 [34 {35 text: "Contact Admin",36 url: "t.me/Balamoodcraked", 37 style: "primary", 38 icon_custom_emoji_id: "5346024644635804737" 39 }40 ],41 [42 {43 text: "Back",44 callback_data: "/back",45 style: "danger", 46 icon_custom_emoji_id: "5893163582194978381"47 }48 ]49 ]50 };51 52 var endpoint = messageId ? "editMessageText" : "sendMessage";53 var requestBody = {54 chat_id: String(chatId),55 text: text,56 parse_mode: "HTML",57 reply_markup: JSON.stringify(keyboard)58 };59 60 if (messageId) { requestBody.message_id = Number(messageId); }61 62 HTTP.post({63 url: "https://api.telegram.org/bot" + bot.token + "/" + endpoint,64 body: requestBody65 });66 67} catch (err) {}