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
27 commands3 envUpdated 2d agoCreated Jul 2, 2026
commands/_inline_query!.js
javascript · 34 lines
1/**#command2name: /inline_query!3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (!options || !options.request) {13 // Bot.sendMessage("No inline request found.");14 return;15}16 17let query = options.request.query;18 19if (!query) {20 return;21}22 23var count = 30;24 25HTTP.post({26 url: process.env.PINTEREST_API,27 body: {28 query: query,29 count: count,30 compact: true31 },32 success: "/inline_query_result",33 error: "/search_error"34});