devbro468/Dev_x_store_botPublic · Bot Template

AIThis bot operates a digital storefront (DEV X STORE) selling subscription-based products — likely game hacks, accounts, or access keys — categorized by platform (Android Root, Non-Root, iPhone). It features a reseller program with discounted pricing, a dual-currency wallet (INR balance + Telegram Stars/XTR), and a full admin/co-admin panel for managing products, plans, per-plan pricing, stock (keys/accounts), coupons, and API endpoints. Purchases flow through a plan selection screen offering wallet payment, Stars invoices (sendInvoice with XTR currency), and coupon application. Successful Stars payments are handled via successful_payment webhook, crediting wallet or delivering keys directly. Admin tools include user listing with chunked messaging, stock viewing/deletion with inline keyboards, co-admin management, and API registry updates. The bot registers users on first interaction and

Commercecommercedigital-goodsstars-paymentreseller-systemadmin-panelstock-management
ProfileTelegram
119 commands0 envUpdated 15d agoCreated Aug 23, 2026
Back to folder

commands/_apihelp.js

javascript · 26 lines

Raw
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")||"8875810358"), 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);}