Steps
Create a Telegram bot
Open @BotFather in Telegram, send
/newbot, pick a name and a username ending inbot, and copy the token (it looks like123456789:AA...). Keep it private: anyone with it can post as your bot.Choose where alerts arrive
For a private chat, send your bot any message, open
https://api.telegram.org/botYOUR_TOKEN/getUpdatesand copy the number in"chat":{"id":...}. For a group, add the bot and use the group's negative id. For a channel, add the bot as an admin and use@yourchannel. More detail in RSS to Telegram.Register a free Twitch app
Sign in at
dev.twitch.tv/console(two-factor authentication must be on), choose Register Your Application, usehttp://localhostas the OAuth redirect URL and any category. Copy the Client ID and create a Client Secret. They only let the script ask Twitch who is live; they can't touch your account.Download the agent and see a demo
Get the free Twitch live alert agent. Run
python3 twitch_live_alert.py --demoto see what the alerts look like without any accounts, then copy.env.exampleto.env.Fill in .env and run it every 5 minutes
Set
TWITCH_CLIENT_ID,TWITCH_CLIENT_SECRET,CHANNELS(for exampleshroud,pokimane; full twitch.tv links work too),TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_ID. LeaveDISCORD_WEBHOOK_URLempty if you only want Telegram. Try--dry-runonce, then schedule it with cron (*/5 * * * *), Windows Task Scheduler or a free GitHub Actions schedule.
What arrives in Telegram
One plain-text message per stream, for example:
🔴 Alpha is live: Ranked grind
Playing Valorant · https://twitch.tv/alphaTelegram usually shows a link preview for the stream. Plain text means odd characters in a stream title can't break the formatting, and an @everyone in a title is just text on Telegram.
What we tested
On 18 October 2026 we ran the agent against a stand-in for Twitch's token and Helix streams endpoints and for Telegram's Bot API, with TELEGRAM_CHAT_ID=@mychannel and no Discord webhook. Run 1: one channel live, one sendMessage (the first attempt got 429 Too Many Requests; the script waited the retry_after Telegram gave and resent once). Run 2: same stream still live, nothing sent. Run 3: a second streamer went live, only that one was sent. Runs 4 and 5: a new stream outside the GAMES filter, nothing sent. One app token was fetched and reused across all five runs.
Only some games, several destinations
Set GAMES=Valorant,Minecraft to be told only when a streamer plays those games. Add DISCORD_WEBHOOK_URL or SLACK_WEBHOOK_URL and the same alert goes there too; if one destination is down the others still get it. The Discord setup is in Twitch live notifications in Discord.
Why not the Twitch app's own notifications?
The Twitch app's push notifications work only on your own phone, for channels you follow, and they're easy to miss or get batched. A Telegram channel or group lets a whole community get the same alert, and you decide exactly which streamers and games count. It's also handy if you stream yourself: point it at your own channel and your Telegram followers get a message each time you go live.
Skip the setup: free download
The Twitch live alert agent does all of this. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.
Get the free Twitch live alert agent → Or have us build yours →
FAQ
Can Telegram notify me when a Twitch streamer goes live?
Not by itself. Something has to ask Twitch who is live and call Telegram's Bot API. This script does that every few minutes and needs no server between runs.
Do I need a Twitch API key?
Yes, a free Client ID and Client Secret from dev.twitch.tv/console. No viewer login or bot account is needed.
Will it post the same stream twice?
No. It remembers the id of each stream it announced, so you get one message per broadcast, and a new one the next time the streamer goes live.
Can it post to a Telegram channel?
Yes. Add the bot as an admin of the channel and set TELEGRAM_CHAT_ID to @yourchannel or its -100... id.
How many streamers can I follow?
Up to 100 channels per Twitch request, and the script batches longer lists automatically.
Is it free?
Yes. Twitch's API, the Telegram Bot API and the agent (MIT licence) are all free.
Related guides
- Twitch live notifications in Discord without a bot (free webhook script)
- YouTube new video notifications in Telegram (free, with or without Shorts)
- GitHub release notifications in Telegram (free, skip pre-releases)
- n8n Slack node not working: invalid_auth, not_authed, channel_not_found fixes
- n8n expression errors and empty values: 29 tests, every message explained
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes