indrajitghosh20006/Igstore_01botPublic ยท Bot Template
AIThe bot provides an admin interface for a digital store, allowing the owner or coโadmins to add balances, products, plans, and categories. It supports payment workflows via UPI and Binance Pay, automatically generating QR codes and handling manual approval of deposits. The code patches inline keyboards to use premium emoji icons and includes helper functions for user and bot properties. Overall, it serves as a commerce management tool for a Telegram-based storefront.
Commercestoreadminbalanceproductplancategory
170 commands0 envUpdated 8h agoCreated Oct 30, 2026
commands/_set_payment_upi_btn.js
javascript ยท 28 lines
1/**#command2name: /set_payment_upi_btn3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 var adminId = Bot.getProperty("owner_id") || "7839151435";14 if (String(user.telegramid) !== String(adminId)) return;15 16 var currentKey = Bot.getProperty("gramupi_api_key") || "";17 var maskedKey = currentKey ? (String(currentKey).slice(0, 10) + "โขโขโขโขโขโขโขโข") : "Not Set";18 User.setProperty("set_payment_upi_step", "waiting_input", "string");19 Bot.sendMessage(20 "<blockquote>๐ณ <b>Set Gram UPI Gateway Payment</b></blockquote>\n\n" +21 "<b>Reply with your Gram UPI Gateway API key:</b>\n<code>YOUR_API_KEY</code>\n\n" +22 "<b>Current API Key:</b> <code>" + maskedKey + "</code>\n\n" +23 "UPI ID เคเฅ เคเคฐเฅเคฐเคค เคจเคนเฅเค เคนเฅ; Gram UPI Gateway order response เคธเฅ UPI ID/QR automatically เคฎเคฟเคฒเฅเคเคพ.",24 { parse_mode: "HTML" }25 );26} catch (err) {27 Bot.sendMessage("โ ๏ธ System Error: " + err.message);28}