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 3d agoCreated Jul 2, 2026
commands/_handle_business_message.js
javascript · 38 lines
1/**#command2name: /handle_business_message3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (request.sticker) {13 Api.sendChatAction({14 chat_id: chat.chatid,15 action: "choose_sticker"16 })17 18 var file_Id =19 request.sticker.fileid ||20 request.sticker.file_id ||21 request.sticker.fileId ||22 request.sticker.file_Id23 var set_Name =24 request.sticker.setname ||25 request.sticker.set_name ||26 request.sticker.setName ||27 request.sticker.set_Name28 29 Api.getStickerSet({30 name: set_Name,31 on_result: "/onStickerSet " + request.message_id,32 run_after: 10,33 options: {34 fileId: file_Id,35 emoji: request.sticker.emoji36 }37 })38}