indrajitghosh20006/Testseller_01botPublic · Bot Template
AIThis bot provides an admin‑controlled system for managing user balances, products, and reseller roles. It includes commands to add balances (via manual input, Binance Pay, or UPI), approve and credit payments, and set up product listings with categories and pricing. Admins can also add resellers, view reseller info, and manage stock entries. The bot uses built‑in TeleBotHost APIs such as Bot, Api, HTTP, and Libs for database operations and message handling.
Commerceadminbalanceproductresellerpaymentsbinance
138 commands0 envUpdated 17h 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);}