TgAutoReply

Guide: setting up TgAutoReply

From first launch to a working bot in 10 minutes. Every step below.

1. What you need first

The app runs on your computer and answers clients in your name on Telegram while you're busy. To get started you need:

  • Windows 10 or 11 (64-bit). No installation — the app is a single file.
  • A Telegram account the bot will reply from (a work account is better than your personal one).
  • The phone number of that account — for signing in.
  • A free AI key (Groq or Gemini) — we'll get one in step 2, it takes 2 minutes.
  • Internet and a computer that stays on: the bot replies while the app is running.
The first 7 days are completely free with no limits. After that you'll need a license key.

2. First launch

  1. Copy TgAutoReply.exe into a folder of your choice — for example C:\TgBot\. The app will create its own files next to it (settings, login, history).
  2. Double-click TgAutoReply.exe.
  3. The main window opens. Settings on the left, conversations top-right, action log at the bottom.
If your antivirus complains, it's a false positive: the app is bundled into one file together with the .NET runtime. Add the folder to exclusions, or use the Classic build.

3. Step 1 — get api_id and api_hash

These are Telegram access keys. You get them once, for free.

  1. Open my.telegram.org and sign in with the phone number of the account the bot will use.
  2. Choose “API development tools”.
  3. Fill in the short form (app name — anything, e.g. TgBot; platform — Desktop).
  4. Copy the App api_id and App api_hash values.

Enter them in the app:

api_id (my.telegram.org)   → e.g. 1234567
api_hash                   → a long string of letters and digits
Phone number (+1…)         → the bot account's number
api_hash is a secret. Don't publish it or share it with anyone.

4. Step 2 — a free AI key

The key lets the bot compose replies. We recommend Groq — it's fast and free.

  1. Open console.groq.com and sign up.
  2. Go to API Keys and create a new key.
  3. Copy it (it starts with gsk_…).
  4. In the app pick Provider → “Groq — fast, free (recommended)” and paste the key into the “API key” field.

More keys — more headroom

The free tier has a daily limit. To keep the bot running, add several keys — one per line (or comma-separated):

gsk_first_key
gsk_second_key
gsk_third_key

When one key runs out of quota, the app switches to the next automatically. The log shows “Groq: key #1 exhausted — trying the next one (#2)”, and the top of the window shows which key is active.

Important: the keys must come from DIFFERENT Groq accounts. Several keys on one account share the same limit, so they add nothing.

5. Step 3 — describe yourself (the persona prompt)

This is the most important field: it defines who answers your clients and how. It's called “Persona instruction (how to reply)”.

Describe what you do, what you sell, prices, hours, how to address the client. Example:

You are a real person, the account owner, replying in DMs while away.
Write in the client's language, briefly (1–2 sentences), naturally, no corporate speak.
Keep the thread: answer the last message in context,
don't greet twice, don't repeat yourself.

The facts (use only these, don't invent):
— Service: massage, “Lotus” studio, 15 Main Street.
— Prices: 60 min — $40, 90 min — $55.
— Hours: Mon–Sat, 10:00–21:00.
— Next step: book the client at a convenient time.

Don't invent facts. If you don't know — say you'll reply personally soon.
Never admit you are a bot or an AI.
The more concrete the facts (prices, address, hours), the more useful the replies. Without them the AI will start making things up.

6. Step 4 — start it

  1. Click “Save”.
  2. Click “Start”.
  3. Telegram sends a confirmation code — enter it in the dialog. If you have two-factor protection, you'll also need your password.
  4. The status shows “Online as …” — the bot is working.

You can now minimise the window. While the app is running, the bot answers incoming messages.

The code is only asked on the first sign-in. After that the app logs in by itself using the saved session.

7. Activating your license

The first 7 days run without limits — the window title shows “Trial: N days left”.

Once the trial ends, the app still opens, but the “Start” button is disabled and “License required” appears next to it. Your settings are kept.

How to activate

Keys are sold on the site tgautoreply.pages.dev. Payment is in USDT on the TRON (TRC20) network.

  1. Click “License / activation…” in the left settings panel.
  2. The dialog shows your computer's ID. The “🔑 Buy a key on the site” button opens the purchase page and copies the ID to your clipboard.
  3. On the site, choose a period and paste your computer ID.
  4. The site shows a wallet address and an amount. Send exactly that amount (how — below).
  5. Your order page refreshes itself: about a minute after the transfer it shows “Payment received”.
  6. The key is issued by hand and appears on that same page — usually quick, but it can take a few hours.
  7. Paste the key into the activation dialog and click “Activate”. “Start” unlocks, no restart needed.

Example computer ID:

7F3C-A21D-9B4E-0C86
Save the link to your order page — that's where the key appears. Lost it? Open tgautoreply.pages.dev/en/my and find your order by computer ID.
Every order gets its own amount, with unique cents (1.57 rather than 1.50, for example). That's how the site picks your payment out from the rest — send it exactly, don't round it.

Pricing

PeriodPrice
1 month1.50 USDT
3 months3.00 USDT
6 months4.50 USDT
12 months6.00 USDT
Forever8.00 USDT
On top of the price, the TRON network charges a transfer fee. It's paid in TRX and doesn't depend on the amount — usually 15–30 TRX. Plan for it: on the cheaper tiers the fee can exceed the price of the key itself.

Paying if you've never used crypto

You need any wallet that supports the TRON network. Below is Bitget Wallet as an example, but any will do: Trust Wallet, TronLink, or an exchange account.

  1. Install Bitget Wallet from Google Play or the App Store.
  2. Open it and choose “Create a Wallet”. When picking networks, tick Tron.
  3. The app shows a secret 12-word phrase. Write it on paper and put it away. It's the only way to recover access: lose it and you lose the money, show it to someone and they take the money. Neither the site nor the author will ever ask you for it.
  4. Buy USDT: the wallet has card purchase built in (“Buy” or “OTC”). Pick USDT on the TRON (TRC20) network specifically.
  5. Buy a little TRX for the transfer fee. 30–50 TRX is plenty. Without TRX the USDT transfer won't go through.
  6. Tap “Send”, choose USDT and the TRON (TRC20) network.
  7. Paste the address from your order page and enter the amount it gave you. Double-check the network is TRON.
  8. Confirm. The transfer takes 3–15 seconds; the site sees it within a minute.
Button names in wallets change over time — go by intent: create a wallet → buy USDT → send. What doesn't change: TRON (TRC20) network, exact amount, address from your order page.
Careful: send USDT only, and only on the TRON (TRC20) network. A transfer on any other network (ERC20, BEP20) is gone for good — it can't be recovered. TRON addresses always start with the letter T.
One license — one computer. But you can run as many copies on it as you like: several Telegram accounts at once, for example. Reinstalled Windows or changed computers — message the author for a new key.

8. Settings — what each one does

Behaviour

SettingWhat it does
Reply if away for N minThe bot only kicks in if you haven't written anything for N minutes. 0 — always reply.
Pause between replies, minDon't reply to the same person more often than every N minutes. For active sales use 0–1.
Daily reply limit per personCap on replies to one client per day.
Delay before replying, secThe “read it and thought about it” pause before answering (min and max).
Wait for follow-ups, secIf a client sends several messages in a row, the bot waits for a pause and answers once.
Messages to rememberHow many recent messages the AI sees. 12–20 is the sweet spot.
If the AI is unavailableStay silent (and hold the message) or send your fallback text.
Hold and retry after, minIf the AI is rate-limited, the bot comes back to the message in N minutes and answers.
Key pause on limit, minHow long an exhausted key “rests” before being tried again.
IDs for “/ar” commandsYour personal account's ID — so you can control the bot from Telegram.

Checkboxes

CheckboxWhat it does
Private chats onlyDon't reply in groups and channels.
Show “typing…”The typing indicator before a reply — looks more alive.
Ignore botsDon't reply to other bots.
Transcribe voice messagesTurn voice into text (needs a Gemini key).
Understand photosRecognise what's in a photo (needs a Gemini key).
Remember the queue on restartUnsent replies are saved and go out after a restart.
Remember conversationsChat history is saved — the bot remembers what you discussed.

9. Buttons and windows

ButtonWhat for
Start / StopStart or stop the bot.
Auto-reply: ON / OFFQuickly mute replies without stopping the app.
Keyword rules…“Which words → how to answer”: your text, an AI reply, a reaction, or ignore.
Media…“Media on request”: they ask for photos/price list — the bot sends the files.
Exceptions (important chats)…Mark chats the bot must not touch at all.
Reset queue/memoryClear unsent replies and/or conversation memory.
License / activation…Your computer ID and key entry.
SaveSave settings. Applied immediately, no restart.

10. Media on request — sending photos and files

The bot can send your catalog, price list or a video when a client asks for it.

  1. Click “Media…” → “Add”.
  2. Words — comma-separated, e.g.: photo, catalog, price, show me.
  3. “Send as” — auto, photo, video, video note, voice, audio or document.
  4. “Files…” — pick one or more files from your computer.
  5. “Caption” — text for the first file. “+AI” — after the files the bot also replies with text.
  6. “Save”.

Abuse protection lives in the “Behaviour” section: a pause between media sends per client, a daily cap, and the “same files once per client” option.

Files are taken from disk by path. Don't move or delete the chosen files or the bot won't find them. Keeping everything in one folder — e.g. C:\TgBot\catalog\ — is easiest.

11. Control from your phone

You can control the bot straight from Telegram without going to the computer.

Setup (once)

  1. From your personal account, message the bot: /ar
  2. The bot replies: “Your ID: 123456789”.
  3. Put that ID into the “IDs for /ar commands” field in settings and click “Save”.

Using it

Send the bot “menu” or “/ar” — you'll get a menu and control it with numbers:

1 · Auto-reply: ON — turn off       8 · AI provider
2 · Status                          9 · Reply delay
3 · Change the prompt              10 · If the AI is unavailable
4 · Pause between replies          11 · “Typing…” on/off
5 · Reply if away for              12 · Reset the queue
6 · Messages to remember           13 · Reset memory
7 · AI model                        0 · Close the menu

Text commands work too — “/ar help” lists them all. For example: /ar on, /ar off, /ar status, /ar prompt .

12. Common questions and problems

The bot doesn't reply to clients

  • Check the status — it should say “Online as …”.
  • Check that Auto-reply is ON.
  • Look at the log: it prints the reason for skipping, e.g. “I'm online right now (recent activity)” or “per-user cooldown”.
  • If “Reply if away for N min” is set, the bot stays quiet while you're writing from that account yourself.

The log says “429 — daily”

The key's free daily quota is used up. The bot switches to the next key automatically if you've added one. Add keys from other free Groq accounts.

The bot answers off-topic or repeats itself

  • Raise “Messages to remember” to 20.
  • Sharpen the prompt — add facts about your product and the “keep the thread” rule.
  • Reset conversation memory: “Reset queue/memory” → clear memory.

The “Start” button is greyed out

The trial or your license has expired. Click “License / activation…” and enter a key.

I need several accounts

Copy the app's folder somewhere else and run a second copy — it gets its own settings and its own login. The license stays one: it's tied to the computer, not to the copy.

13. Important reminders

  • Only reply to people who messaged you first. Mass outreach to strangers is exactly what gets Telegram accounts restricted.
  • Don't zero out pauses and limits without a reason: they're what makes the bot's behaviour look natural.
  • Use a separate work account, not your personal one.
  • Never share the tg.session and appsettings.json files — they contain access to your Telegram and your API keys.