telegram
RUEN
~/plugins/fp_autotggifts

AutoTgGifts — Telegram gift auto-delivery

FunPay Universalfp_autotggifts

AutoTgGifts — a module for FunPay Universal that automates sending Telegram gifts for stars. Gifts are sent from your Telegram accounts to the buyer's @username. Rich functionality, flexible and convenient setup through the Telegram menu.

How does it work?

  1. The buyer orders your offer in the Telegram Stars section with the «Подарком» (As a gift) method and enters their @username in the order
  2. The plugin finds the service the offer is linked to — that's how it knows which gift to send. One gift is sent for each unit bought
  3. Before sending, it checks that your accounts have enough stars for the whole order. If not, sending won't start
  4. Gifts are sent one at a time. If one account fails, the next one is tried. The buyer gets a message about each gift
  5. Everything is sent — the buyer is asked to confirm the order and leave a review
  6. Sending failed — the plugin refunds the order and messages you in Telegram. If auto-refund is off, it asks the buyer for their @username again and to confirm the order with +/-

What do you need?

  • Telegram accounts with stars — gifts are bought with stars from your accounts' balance
  • Api ID and Api Hash from my.telegram.org — without them the plugin can't log in to the accounts or process an order
  • An offer with the «Подарком» (As a gift) method — the plugin only picks up such orders, and only for offers linked to services

Features

  • 💝 Sending gifts for stars — from your Telegram accounts
    • Sends as many gifts as there are units in the order
    • Hiding the sender's name — visitors to the recipient's profile won't see your name
    • Your own text with the gift, or no text at all
  • 👤 Several sender accounts
    • Adding by phone number: the code from Telegram and the cloud password, if one is set
    • Or with ready-made sessions: a .session file or a .zip / .rar archive with several
    • The list shows the username and star balance of every account
    • An account couldn't send a gift — the plugin tries the next one
    • An account's session isn't authorized — you get a notification, and the plugin skips that account
    • If a proxy for Telegram is set in the bot settings, the accounts connect through it
  • 🎁 Your own gift list
    • 11 gifts are already added: from 💖 Heart and 🧸 Bear for 15⭐ to 🏆 Trophy, 💍 Ring and 💎 Diamond for 100⭐
    • Any other gift — by its ID, with your own name and price (from 15⭐)
    • A gift linked to services can't be deleted by mistake
  • 📃 Services — which gift to send for which offer
    • Added by a FunPay offer link
    • The service's gift can be changed in a couple of clicks
  • 🔄️ Automatic offer status changes — can be turned off
    • No account has enough stars for the gift — the offer turns off; stars are back — it turns on
    • Checked roughly every 3 minutes
    • No connection to any account — offer statuses are left alone
    • A Telegram notification every time an offer is turned on or off
  • ↩️ Automatic refund — can be turned off
    • Couldn't send a gift — the refund is issued automatically
    • Turned off — the plugin asks the buyer for their @username again and to confirm the order
  • 📢 Notifying buyers
    • Buyers who received their gifts but didn't confirm the order
    • On a schedule (once a day by default) or with a button
  • 🔔 Telegram notifications
    • Not enough stars on the accounts
    • Couldn't send a gift
    • Order not processed: Api ID and Api Hash aren't set, there are no accounts, or the service is linked to a gift that doesn't exist
    • Offer turned off or back on
    • Account not authorized
  • 💬 Messages to the buyer
    • 8 messages — for every order stage
    • Any of them can be edited or turned off
  • 📊 Statistics
    • For a day, a week, a month and all time
    • Orders: total, completed, refunded, amount
    • Gifts sent and the best-selling offer

Managing in Telegram

The plugin is fully managed through a dedicated, convenient menu in the TG bot. A full overview of all menu sections is in the YouTube video

The bot menu is in Russian. Button names in this guide are given as they appear in the bot, with a translation in brackets

the screenshot was lost when the article moved

Demo

▸ YouTube

What's included?

  • License
    • Issued to your Telegram account
    • Bound to your device
    • Managed through our bot
  • Plugin
    • Download it in our bot
    • All future updates included
  • Tech support
    • Help with installation
    • Help with proper setup

Price: 3990 RUB / lifetime

To buy, contact — @friedfluoride

The license is lifetime only, there's no way to buy it for a limited time yet

License, refund and support terms are in the license agreement.

How to use

Once you've been issued a license, go to our bot @friedshopbot, send it the /start command, open «🔐 Мои лицензии» (My licenses) in the main menu and tap the license you bought.

The menu that opens lets you manage your license. To download the module, tap the corresponding button and the bot will send you an archive with the module inside as a folder.

Download the FunPay Universal bot if you haven't yet, and run it. Open the main menu, go to «Модули» (Modules) and tap «Импортировать» (Import). Then send the downloaded archive to the bot.

Once the module is imported, restart the bot with the /restart command. After the restart, the /autotggifts command will appear in the Telegram bot — it opens the plugin menu.

On the first launch you'll need to bind the license to your device. Open the plugin menu and follow the link shown there to do it.

Next, to get started, enter the Api ID and Api Hash in «🔑 API Telegram» (Telegram API). Without them the plugin can't log in to the accounts, and the accounts section won't open.

How to get Api ID and Api Hash:

  1. Log in to my.telegram.org with any of your Telegram accounts
  2. Open API development tools and create an app — filling in App title and Short name is enough
  3. Copy api_id and api_hash from the «App configuration» block

Now add the accounts the gifts will be sent from. Go to «👤 Аккаунты» (Accounts) → «➕ Добавить» (Add). The bot will ask for:

  • The account's phone number
  • The code from Telegram — type it by hand instead of copying, with hyphens between the digits: if you got the code 59103, send 5-9-1-0-3. This way Telegram won't block the login
  • Cloud password — if two-step verification is on for the account
the screenshot was lost when the article moved

If you already have account sessions, tap «➕ Добавить сессии» (Add sessions) and send a .session file or a .zip / .rar archive with several. The plugin checks each session and shows which were added and which were rejected.

Top up the star balance on the accounts — gifts are bought with stars. Each account's balance is shown in the account list.

«🎁 Подарки» (Gifts) already has 11 default gifts. Need a different one — tap «➕ Добавить» (Add) and enter the gift ID, name and price in stars. Enter the real price: the plugin uses it to check whether there are enough stars for an order.

Now create an offer for Telegram Stars on FunPay with the «Подарком» (As a gift) method and link it to a gift: «📃 Услуги» (Services) → «➕ Добавить» (Add), send the offer link (like https://funpay.com/lots/offer?id=...) and pick a gift. After that the plugin will start sending gifts for new orders on this offer.

The plugin will turn the offer on and off by itself when stars run short. If you'd rather manage the offer by hand, turn off «🔄️ Авто-изменение статусов лотов» (Auto-change offer statuses) in «🔧 Прочее» (Other). «↩️ Авто-возврат при ошибке» (Auto-refund on error) is turned off there too.

In «🎁 Отправка подарков» (Sending gifts) you can hide the sender's name (hidden by default) and add text to the gift.