suvo_/ImglyBotPublic · Bot Template

AIThis bot searches images through a Pinterest-related HTTP API and delivers results in private chats, inline mode, and guest business queries, with a search-more inline button and copy URL action. It tracks referrals from /start links, records referrer counts and lists, and displays referral benefits. The bot also handles business sticker messages by matching emoji and replying with a random sticker from the same set, asks users for feedback after feature usage, and includes an admin-only broadcast system plus a token-based clone-bot request flow.

Utilityimage-searchpinterestinline-modereferralbroadcastclone-bot
ProfileTelegram
27 commands3 envUpdated 3d agoCreated Jul 2, 2026
Back to folder

commands/_start.js

javascript · 79 lines

Raw
1/**#command2name: /start3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12Bot.runCommand("/delete_msg")13let adminId = prosess.evn.ADMIN_ID14 15if (params && /^\d+$/.test(params)) {16 17  if (params != user.id) {18 19    if (!User.getProperty("referrer")) {20      User.setProperty("referrer", params, "string");21    }22 23  }24 25}26 27if (request.chat.id == adminId) {28  Api.sendMessage({29    text: "Welcome Admin 🌸",30    chat_id: adminId31  })32  return33}34 35Api.sendMessage({36  text: `<b>⭐ Welcome To Pinterest Image Search Bot 🌸</b>37  38<a href="tg://user?id=7002527755">Dev</a>39 40<tg-spoiler>/myref</tg-spoiler>41 42<blockquote expandable>43<b>🚀 Meet <a href="tg://user?id=` + bot.bot_id + `">` + bot.first_name + `</a> — Fast, Smart & Ads-Free!</b>44 45<b>🔍 Inline Image Search</b>46<u>Search images directly from any chat using inline mode.</u>47 48<b>🖼 Private Image Search</b>49<u>Search and receive high-quality images instantly in private chat.</u>50 51<b>💬 Guest Image Search</b>52<u>Business Guest Chat support with fast image search and replies.</u>53 54<b>🌍 Global Image Search</b>55<u>Find images from a huge collection in seconds.</u>56 57<b>⚡ Fast & Responsive</b>58<u>Optimized for quick results with a smooth user experience.</u>59 60<b>🚫 100% Ads-Free</b>61<u>No annoying ads, no forced broadcasts—just a clean experience.</u>62 63<b>🛠 Built for Speed</b>64<u>Lightweight, reliable, and easy to use.\n</u>65 66</blockquote>`,67  parse_mode: "HTML",68  disable_web_page_preview: true,69  reply_markup: {70    keyboard: [71      [{72        text: "𝙵𝚎𝚎𝚍𝚋𝚊𝚌𝚔",73        style: "primary"74      }]75    ],76    resize_keyboard: true77  },78  on_result: "/pin"79});