Telegram
Integrate Telegram with your AI agent using Nebula. Send messages, manage groups, handle media, and automate chat workflows automatically.
Telegram lets Nebula send messages and media, manage groups and forums, moderate members, and handle polls. When you connect Telegram, Nebula automatically creates a Telegram Agent that handles all Telegram interactions.
How to connect
Telegram requires a bot token from BotFather. When you ask Nebula to do something with Telegram, it will walk you through the setup.
You can also connect manually from Integrations > Telegram at nebula.gg and paste in your bot token from BotFather.
After connecting, add the bot to any group or channel where you want it to be active.
Each Telegram integration uses a single bot token. The bot can be added to multiple groups and channels, and your agent can interact with all of them.
What your agent can do
Messages: send text, photos, documents, videos, audio, voice messages, and animations. Forward, copy, edit, and delete messages.
Send a photo of the quarterly results to our team group.
Sending photo to team group.
Sent the quarterly results photo to your team group.
Forward that important message to the announcements channel.
Forwarded the message to the announcements channel.
Polls: create and manage polls for quick team decisions.
Create a poll in our group: 'When should we have the next team meeting?' with options for Monday, Wednesday, and Friday.
Created the poll in your team group with 3 options: Monday, Wednesday, and Friday.
Pinning: pin important messages, unpin specific messages, or clear all pins.
Group management: get chat info, view members, manage administrators, ban or restrict members, and promote members to admin.
Who are the admins in our community group?
Your community group has 3 admins: @alice, @bob, and @carol.
Restrict that user from sending media for 24 hours.
Restricted the user from sending media. The restriction will lift in 24 hours.
Forums: create, edit, close, reopen, and delete forum topics in groups with topics enabled.
Create a new forum topic called 'Feature Requests'.
Created the forum topic "Feature Requests" in your group.
Example use cases
Rich media updates. Your agent generates charts using code execution and posts them to a Telegram channel as images with captions.
Group moderation. Restrict or ban members based on rules, promote trusted members, and manage forum topics in large communities.
Interactive polls. Create polls for team decisions, close them after a set period, and summarize results.
Tips
- The bot must be an admin in a group to perform moderation actions like banning, restricting, or promoting members.
- For forum-style groups, enable the forum actions so your agent can create and manage topics.
- Combine Telegram with automations to build recurring bots; for example, a daily news bot that sends articles every morning.
Having trouble connecting? Ask Nebula for help, or email support@nebula.gg