Telegram
Connect your own Telegram bot to get team alerts in your chats, send receipts to the accounting shoebox, and ask the C-Suite or Lin from a private chat.
Who can use this: Admins and the Owner connect the bot and manage its chats (
integrations:manage). Anyone with the link code can link a chat. Asking the C-Suite needscsuite:use(Admins and the Owner); asking Lin needsai:use.
What the bot does
The bot is your workspace's own Telegram bot, made with Telegram's @BotFather. Antero uses it to:
- send alerts to linked chats: new leads, bookings, chatbot handovers, deals won, finished campaigns, paid invoices, accepted quotations, leave and claims to approve, ads, new job applicants, stock running low and voicemails;
- take receipts: photos and PDFs sent to a chat that takes receipts go into the accounting shoebox;
- answer questions to the C-Suite (
/csuite) and Ask Lin (/lin) in a private chat, by text or voice note, with Confirm and Cancel buttons when they propose an action.
The bot is not a customer channel: customers' messages are in the Inbox, which carries WhatsApp and SMS only.
Connect the bot
- In Telegram, open @BotFather, send
/newbotand follow the steps. BotFather gives you a bot token such as123456789:AAF…. - In Antero, go to Workspace → Integrations → Telegram Bot and add a connection. Choose whether it is for all brands or for one brand, and paste the Bot token.
- Press Send test. Antero checks the token, registers the bot's webhook with Telegram (with a secret Telegram must send back on every update), and creates the bot's link code.
- The connection now shows the bot's name and Link a chat:
/startfollowed by the link code, with a copy button, and Or open: at.melink that opens the bot with the code filled in.
A workspace can have one bot for all brands and one bot per brand. A brand uses its own bot first, so each brand's alerts go to the chats linked to the bot it uses.
If Telegram cannot reach your Antero server (for example on a computer without a public address), the test says so. The bot still sends alerts; link chats with Add by chat ID instead (see below).
Link chats
A chat can be a private chat with the bot or a group the bot is in.
- Private chat: open the bot (or the Or open link) and send
/start CODE, using the link code from the connection. - Group: add the bot to the group, then send
/link CODEin it. In a group with several bots,/link@yourbot CODEalso works.
Both commands work in both kinds of chat. The bot answers "Linked to … in Antero. Alerts will arrive here." with the brand's or workspace's name. A wrong code gets "That code does not match." Sending /start without a code explains what to do. The bot's replies to commands are in the server's default language, usually English.
Add by chat ID: on the bot's integration page, under Linked chats, type a Chat ID (such as -1001234567890 for a group) and press Add by chat ID. The bot must already be in the chat; Antero checks by sending it a message.
Linked chats lists every linked chat with its title, who linked it, its alerts and its receipt setting.
Choose alerts
Each linked chat picks the alerts it wants by ticking them on the integration page. A newly linked chat gets every alert until you untick some.
| Alert | Sent when |
|---|---|
| New leads from forms and bookings | A lead form is submitted, or a lead ad comes in from Meta, Google or TikTok (new bookings have their own alert, below) |
| Appointments booked or cancelled | A customer books or cancels on a booking page, or someone adds or cancels an appointment. Also when a contact presses 2 on an appointment's reminder call to change it (see Reminder calls) |
| Chatbot conversations that need a person | The chatbot hands a WhatsApp conversation to your team, with the reason. Also when a contact presses 2 on an automation's reminder call |
| Deals won | A deal moves to a won stage, with its value and owner |
| Campaigns finished | A campaign finishes sending, with how many were sent and failed |
| Invoices paid | An invoice is paid in full |
| Leave, claims and corrections to approve | A leave request, claim or attendance correction is waiting for approval |
| Ad spend caps and autopilot rules | An ad account's spend cap warns or pauses, or an autopilot rule acts or alerts |
| New job applicants | Someone applies for one of the brand's jobs |
| Quotations accepted | A customer accepts a quotation |
| Stock running low | An item that tracks stock reaches its reorder level or goes below it, with what is on hand. Sent once, until the item goes back above its level. See Stock |
| Voicemails left on your phone number | A caller leaves a voicemail on the brand's Twilio number, with who called, what they said as text, and a link to the conversation. See Phone calls |
- Most alerts end with a link to the record in Antero.
- Alerts are written in the language of the workspace's owner.
- An automation's Telegram alert step sends its own message to every chat linked to the bot, whatever alerts the chat chose (see Automations).
Receipts
A chat can feed the Digital Shoebox in Accounting → Receipts.
- On the integration page, tick Take receipts: photos and PDFs sent here go into the accounting shoebox for the chat.
- When the bot is for all brands and the workspace has several brands, choose the Brand for receipts. First brand (the oldest) is used when none is chosen. A bot for one brand always files receipts in that brand.
- Send a photo, or a JPEG, PNG, WebP or PDF file, to the chat.
The bot replies "Got it. Reading the receipt…", and the receipt appears in the shoebox for AI to read and a person to check. A chat that does not take receipts says so instead. If a receipt cannot be saved (for example the plan's storage is full), the bot replies with the reason. See Bills and receipts.
Ask the C-Suite and Lin
The bot can also answer your own questions in a private chat. Groups cannot ask, so nobody else reads the answers.
| C-Suite | Ask Lin | |
|---|---|---|
| Who | Admins and the Owner (csuite:use) |
Anyone linked to an employee in the brand, with ai:use, when Lin is on |
| Get a code | On the AI → C-Suite page | On Me → Ask Lin |
| Link the chat | /csuite CODE |
/lin CODE |
| Ask | Text or voice notes, answered by the agent you chose | Text or voice notes |
| Spoken answers | /voice auto, /voice on or /voice off |
/voice auto, /voice on or /voice off |
| New conversation | /new |
/new |
| Stop | /csuite off |
/lin off |
- Codes work once and last 10 minutes.
- A chat asks either the C-Suite or Lin, never both: linking one stops the other.
- Your access is checked on every question, just as in Antero.
- A chat linked only to ask gets no alerts until someone ticks them on the integration page.
Spoken answers
A chat that asks the C-Suite or Lin can hear its answers as well as read them. The answer comes as a voice note first, then the text, which keeps the links.
/voice auto(the default): a voice note only when you asked by voice./voice on: a voice note every time./voice off: text only./voicealone says which is set.
Spoken answers use Read aloud credits by length. When the speech provider is not OpenAI, the answer arrives as an audio file instead of a voice note. See Voice.
Confirm and Cancel buttons
When the C-Suite or Lin proposes an action, such as pausing an ad campaign or applying for leave, it arrives as its own message saying what will happen, with Confirm and Cancel buttons.
- Press Confirm to run it, or Cancel to drop it. Nothing happens before you press.
- The buttons go, and the message then says "Confirmed" or "Cancelled".
- Once every proposal of the answer is answered, the follow-up arrives as a new message.
- A press only counts in the chat the proposal was sent to, while it is still linked to the person who asked. Otherwise Telegram shows "This is not yours to answer."
- Pressing twice never runs an action twice.
- Sending a new question instead of pressing leaves the proposal unanswered, and nothing runs. A proposal expires after 24 hours.
See Assistant actions.
Unlink a chat
- Send
/stop(or/unlink) in the chat. The bot answers "This chat will no longer get Antero alerts." - Or press Unlink chat beside the chat on the integration page.
- Removing the bot from a group unlinks that group automatically.
Linking and unlinking from the integration page are written to the workspace's audit log.
Troubleshooting
- The bot does not answer
/start CODE: press Send test again on the connection. If the test says Telegram cannot reach Antero, use Add by chat ID. - "That code does not match.": copy the code again from Link a chat; it is 8 letters and digits.
- A chat gets no alerts: check its ticked alerts, and that the alert's brand uses this bot. A brand with its own bot sends its alerts there, not to the workspace's bot.
- "This chat does not take receipts yet.": tick Take receipts for the chat.
- "That code does not work." after
/csuiteor/lin: the code expired after 10 minutes or was already used. Get a new one. - Confirm and Cancel do nothing: press Send test on the connection again. It registers the bot with Telegram again, including button presses.