ayushyadav7970824760/goldensellingstore_botPublic · Bot Template
AIThis Telegram store bot lets customers browse digital products and plans, apply coupons, add funds via UPI, and receive purchased keys. It includes a full admin panel for managing products, reordering items, setting reseller prices, viewing and removing key stock, configuring UPI payment details and update links, and checking user balances. Co-admins and resellers are supported, and support tickets are forwarded to the admin.
Commercedigital_storeadmin_panelupi_paymentsresellercouponskey_stock
146 commands0 envUpdated 2d agoCreated Sep 5, 2026
commands/_how.js
javascript · 75 lines
1/**#command2name: /how3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 // Click loading spinner band karne ke liye instant answer14 if (request && request.id) {15 HTTP.post({16 url: "https://api.telegram.org/bot" + bot.token + "/answerCallbackQuery",17 body: { callback_query_id: request.id }18 });19 }20 21 var chatId = chat.chatid;22 var messageId = request && request.message ? request.message.message_id : null;23 24 // Premium Text with your custom premium emojis25 var text = "━━━━━━━━━━━━━━━━━━━━\n" +26 "<tg-emoji emoji-id='6195222374355311655'>👑</tg-emoji> <b>HOW TO USE THE BOT</b>\n" +27 "━━━━━━━━━━━━━━━━━━━━\n\n" +28 "<blockquote>" +29 "<tg-emoji emoji-id='6219605968846591564'>😎</tg-emoji> Follow these simple steps to use the bot:\n\n" +30 "<tg-emoji emoji-id='6194809138371904539'>📉</tg-emoji> 1. Add balance to your wallet first.\n" +31 "<tg-emoji emoji-id='6298597328022407025'>💰</tg-emoji> 2. Go to products section and pick your plan.\n" +32 "<tg-emoji emoji-id='5316728625465146646'>👆</tg-emoji> 3. Click buy and copy your instant key!\n\n" +33 "<i>Watch the detailed video tutorial below for full guide!</i>" +34 "</blockquote>";35 36 // Inline Keyboard configuration with direct URL system37 var howToLink = Bot.getProperty("how_to_use_link") || "https://youtu.be/oe2Ja08Vvpo";38 var keyboard = {39 inline_keyboard: [40 [41 {42 text: "Watch Video Guide",43 url: howToLink, 44 style: "primary", // ⚡ Style property added here as requested45 icon_custom_emoji_id: "5258077307985207053" 46 }47 ],48 [49 {50 text: "Back",51 callback_data: "/back", 52 style: "danger",53 }54 ]55 ]56 };57 58 var endpoint = messageId ? "editMessageText" : "sendMessage";59 var requestBody = {60 chat_id: String(chatId),61 text: text,62 parse_mode: "HTML",63 reply_markup: JSON.stringify(keyboard)64 };65 66 if (messageId) {67 requestBody.message_id = Number(messageId);68 }69 70 HTTP.post({71 url: "https://api.telegram.org/bot" + bot.token + "/" + endpoint,72 body: requestBody73 });74 75} catch (err) {}