GitHub Copilot + Telegram
Post to Telegram from GitHub Copilot
Ask GitHub Copilot to write and schedule your Telegram messages. BrokenPost connects the two, follows Telegram's rules and posts at the time you pick.
How to connect GitHub Copilot to Telegram
- 1
Connect Telegram in BrokenPost. Add the BrokenPost bot to your channel or group as an admin, then connect it.
- 2
In BrokenPost, open Plugins and copy your MCP URL.
- 3
Add the config below to .vscode/mcp.json in your project root.
- 4
Start the server in VS Code and sign in to BrokenPost.
- 5
Ask Copilot in agent mode to schedule a post.
{
"servers": {
"brokenpost": { "type": "http", "url": "<MCP_URL>" }
}
}What to ask GitHub Copilot
Type these in Copilot agent mode in VS Code. Change the details to fit your messages.
- “Post this announcement in my Telegram channel tomorrow at 8am with the link in bold.”
- “Every Monday at 9am, post this reminder in our Telegram group.”
- “Send this video to my Telegram channel on Friday evening.”
- “Read the commits since the last tag and turn them into a short Telegram message. Schedule it for 10am tomorrow.”
- “What Telegram messages do I have scheduled for next week?”
What happens next
- 1
You ask in Copilot agent mode in VS Code, in plain words.
- 2
GitHub Copilot lists the channels you connected in BrokenPost and picks your Telegram account.
- 3
It reads Telegram's rules and settings from BrokenPost, so the message fits Telegram's limits before it is written.
- 4
If you shared a picture, a video or a link to one, it uploads it to your media library.
- 5
It creates the message as scheduled, as a draft, or to go out now, and gives you a preview link.
- 6
At the set time BrokenPost publishes it to Telegram and it shows on your calendar.
Telegram limits GitHub Copilot follows
GitHub Copilot reads these rules from BrokenPost before it writes, so the message fits the first time.
| Characters | 4,096 characters |
|---|---|
| Media | Photos, videos and files |
| Formatting | Bold, italic, links and more |
| Files | Media Telegram can not show inline is sent as a file |
| Replies | Yes |
If Telegram rejects a message
GitHub Copilot sees the same message and can fix the message for you.
| What you see | How to fix it |
|---|---|
| Posts never show up in the channel | Make the BrokenPost bot an admin with the right to post messages, then retry. |
Good to know
- The bot must be an admin in the channel or group.
- Each message can have up to 4,096 characters.
- GitHub Copilot only posts when you ask. Ask for a draft to check the message in BrokenPost first.
Questions people ask
Can GitHub Copilot post to Telegram directly?
Yes, through BrokenPost. Connect Telegram in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish Telegram messages.
Does GitHub Copilot know the Telegram limits?
Yes. GitHub Copilot reads Telegram's rules from BrokenPost before it writes: 4,096 characters and photos, videos and files. BrokenPost checks again before it posts.
Can GitHub Copilot schedule Telegram messages for later?
Yes. Give a day and time, like "Friday at 6pm", and the message goes out then. Ask for a draft if you want to check it first.
Is it free?
GitHub Copilot with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.
Can GitHub Copilot post a Telegram thread or comments?
Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.
Why does the bot need to be an admin?
Telegram only lets admins post in channels. Make the bot an admin with the right to post messages.
More apps with GitHub Copilot
Post to Telegram with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.