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.
2. First launch
- 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).
- Double-click TgAutoReply.exe.
- The main window opens. Settings on the left, conversations top-right, action log at the bottom.
3. Step 1 — get api_id and api_hash
These are Telegram access keys. You get them once, for free.
- Open my.telegram.org and sign in with the phone number of the account the bot will use.
- Choose “API development tools”.
- Fill in the short form (app name — anything, e.g. TgBot; platform — Desktop).
- 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
4. Step 2 — a free AI key
The key lets the bot compose replies. We recommend Groq — it's fast and free.
- Open console.groq.com and sign up.
- Go to API Keys and create a new key.
- Copy it (it starts with gsk_…).
- 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.
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.
6. Step 4 — start it
- Click “Save”.
- Click “Start”.
- Telegram sends a confirmation code — enter it in the dialog. If you have two-factor protection, you'll also need your password.
- 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.
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.
- Click “License / activation…” in the left settings panel.
- 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.
- On the site, choose a period and paste your computer ID.
- The site shows a wallet address and an amount. Send exactly that amount (how — below).
- Your order page refreshes itself: about a minute after the transfer it shows “Payment received”.
- The key is issued by hand and appears on that same page — usually quick, but it can take a few hours.
- Paste the key into the activation dialog and click “Activate”. “Start” unlocks, no restart needed.
Example computer ID:
7F3C-A21D-9B4E-0C86
Pricing
| Period | Price |
|---|---|
| 1 month | 1.50 USDT |
| 3 months | 3.00 USDT |
| 6 months | 4.50 USDT |
| 12 months | 6.00 USDT |
| Forever | 8.00 USDT |
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.
- Install Bitget Wallet from Google Play or the App Store.
- Open it and choose “Create a Wallet”. When picking networks, tick Tron.
- 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.
- Buy USDT: the wallet has card purchase built in (“Buy” or “OTC”). Pick USDT on the TRON (TRC20) network specifically.
- Buy a little TRX for the transfer fee. 30–50 TRX is plenty. Without TRX the USDT transfer won't go through.
- Tap “Send”, choose USDT and the TRON (TRC20) network.
- Paste the address from your order page and enter the amount it gave you. Double-check the network is TRON.
- Confirm. The transfer takes 3–15 seconds; the site sees it within a minute.
8. Settings — what each one does
Behaviour
| Setting | What it does |
|---|---|
| Reply if away for N min | The bot only kicks in if you haven't written anything for N minutes. 0 — always reply. |
| Pause between replies, min | Don't reply to the same person more often than every N minutes. For active sales use 0–1. |
| Daily reply limit per person | Cap on replies to one client per day. |
| Delay before replying, sec | The “read it and thought about it” pause before answering (min and max). |
| Wait for follow-ups, sec | If a client sends several messages in a row, the bot waits for a pause and answers once. |
| Messages to remember | How many recent messages the AI sees. 12–20 is the sweet spot. |
| If the AI is unavailable | Stay silent (and hold the message) or send your fallback text. |
| Hold and retry after, min | If the AI is rate-limited, the bot comes back to the message in N minutes and answers. |
| Key pause on limit, min | How long an exhausted key “rests” before being tried again. |
| IDs for “/ar” commands | Your personal account's ID — so you can control the bot from Telegram. |
Checkboxes
| Checkbox | What it does |
|---|---|
| Private chats only | Don't reply in groups and channels. |
| Show “typing…” | The typing indicator before a reply — looks more alive. |
| Ignore bots | Don't reply to other bots. |
| Transcribe voice messages | Turn voice into text (needs a Gemini key). |
| Understand photos | Recognise what's in a photo (needs a Gemini key). |
| Remember the queue on restart | Unsent replies are saved and go out after a restart. |
| Remember conversations | Chat history is saved — the bot remembers what you discussed. |
9. Buttons and windows
| Button | What for |
|---|---|
| Start / Stop | Start or stop the bot. |
| Auto-reply: ON / OFF | Quickly 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/memory | Clear unsent replies and/or conversation memory. |
| License / activation… | Your computer ID and key entry. |
| Save | Save 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.
- Click “Media…” → “Add”.
- Words — comma-separated, e.g.: photo, catalog, price, show me.
- “Send as” — auto, photo, video, video note, voice, audio or document.
- “Files…” — pick one or more files from your computer.
- “Caption” — text for the first file. “+AI” — after the files the bot also replies with text.
- “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.
11. Control from your phone
You can control the bot straight from Telegram without going to the computer.
Setup (once)
- From your personal account, message the bot: /ar
- The bot replies: “Your ID: 123456789”.
- 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.