The bottom line (TL;DR)
- A Telegram bot = one entry scenario with a Router (commands, text, voice, buttons).
- Voice: Download → transcription → agent → TTS → Send.
- WhatsApp only through the Cloud API: a 24-hour window and templates.
- Slack for an internal channel: alerts, escalation, a knowledge bot in a thread.
- One brain, many channels — we built a voice AI assistant.
The key points — in depth
1. Telegram
One webhook, a Router, an inline keyboard, chat action, Download a File.
2. Voice
Transcription with the language set; TTS; Voice vs. Audio.
3. WhatsApp
Cloud API, 24h, templates, opt-in, pricing.
4. Slack
Create a Message, Watch, threads, preventing loops.
5. Architecture
An entry per channel → normalize → brain → answer on the channel.
6. A voice assistant
replyMode, short answers, Credits.
Concept cards (click or press Enter to flip)
Watch Updates
An instant trigger for a Telegram bot.
Inline keyboard
Buttons under a message.
callback_query
The event created by clicking a button.
Transcription
Converting voice to text.
TTS
Converting text to voice.
24-hour window
The window for a free reply on WhatsApp.
Template
A WhatsApp message approved in advance.
Hub & spoke
A central brain with multiple channels.
Spaced repetition — the session concepts
Mark "I knew it" or "Not yet" — the cards you did not know come back more often. Cards from all the sessions are in the arcade.
Quick cheat sheet
| What | Details |
|---|---|
| Telegram Bot → Watch Updates | Entry |
| Telegram Bot → Download a File | A file/voice |
| OpenAI → Create a Transcription | Transcription |
| Telegram → Send a Voice / Audio | A spoken answer |
| Send a Chat Action: typing | "Typing…" |
| WhatsApp Business Cloud → Send a Template Message | A proactive message |
| Slack → Create a Message (Thread TS) | A thread |
| Scenarios → Call a scenario | Calling the brain |
Common mistakes to avoid
- Two scenarios on the same Telegram bot.
- Sending MP3 as Voice.
- Proactive WhatsApp messages without a template.
- A Slack bot that answers itself.
- Long spoken answers.
Self-review questions
- Why one entry scenario for a bot?
- What's the difference between Voice and Audio?
- What is the 24-hour window?
- How do you prevent a loop in Slack?
- What's the advantage of a brain scenario?
Homework and preparing for the next session
- A working voice assistant.
- Preparing for session 13: think about your sales funnel — where leads come from, what happens to them, and where they "fall off".