indrajitghosh20006/HgfhhuybotPublic · Bot Template
AIThis bot provides a command‑based admin interface for managing user balances, products, and resellers. It supports adding balances via UPI or Binance Pay, approving payments, and configuring product details and categories. The bot also handles user role changes, stock uploads, and offers a simple calculator UI for entering amounts. All interactions are handled through short commands and inline keyboards, with no long‑running listeners or external frameworks.
Utilityadminbalanceproductresellerpaymentupi
138 commands0 envUpdated 15h agoCreated Sep 27, 2026
commands/_apihelp.js
javascript · 26 lines
1/**#command2name: /apihelp3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 var ownerId=String(Bot.getProperty("owner_id")||"7839151435"), uid=String(chat.chatid), co=Bot.getProperty("co_admin_"+uid);14 if(uid!==ownerId && !co) return;15 Bot.sendMessage(16 "<b>🔌 MULTI API SYSTEM</b>\n\n"+17 "<code>/apiadd ID | NAME | URL | API_KEY | MASTER_KEY | MODE | ANDROID_REQUIRED</code>\n"+18 "<code>/apiupdate ID | FIELD | VALUE</code>\n"+19 "<code>/apilist</code>\n"+20 "<code>/apiset API_ID</code>\n"+21 "<code>/apidelete API_ID</code>\n\n"+22 "<b>Supported fields:</b> name, url, api_key, master_key, mode, android_required, enabled\n\n"+23 "Purchase flow automatically reads the active API configuration. Android ID is taken from the saved user value when the selected API requires it.",24 {parse_mode:"HTML"}25 );26} catch(e){Bot.sendMessage("⚠️ API Help Error: "+e.message);}