Create a Telegram bot
- Open Telegram and start a chat with
@BotFather. - Send
/newbotand follow the prompts. - Copy the bot token that BotFather returns. It will look like:
Add the bot to your destination
Add the bot to the private chat, group, supergroup, or channel where you want notifications.- Personal chat: start a conversation with the bot and send any message.
- Add the bot to a group or supergroup, then send a message in that chat.
- A channel may require adding the bot as an administrator so it can post updates.
- Forum-style supergroups need the bot added to the group, plus the topic you want to post into.
Find the chat ID
- After adding the bot, send at least one message in the destination chat.
- Open this URL in your browser, replacing
BOT_TOKENwith your real token:
- Look for one of these fields in the JSON response:
- Private chat or group:
message.chat.id - Channel:
channel_post.chat.id - Topic/thread in a forum group: use the same chat ID, and also copy
message.message_thread_id
If
getUpdates returns an empty result, send a fresh message in Telegram and reload the URL. If you see a 404, double-check that the URL format is exactly https://api.telegram.org/bot<token>/getUpdates.Connect Telegram in Kaneo
- Open Settings in the sidebar.
- Under Projects, select the project you want to connect.
- Open the Integrations tab.
- Expand the Telegram section.
- Paste your bot token.
- Enter the chat ID.
- Optionally enter a topic thread ID if you want messages posted into a specific Telegram forum topic.
- Optionally add a chat label for your own reference.
- Choose which events to subscribe to.
- Click Connect Telegram.
Supported events
You can change these toggles at any time in the integration settings.
Message format
Kaneo sends formatted Telegram messages with:- The event title
- A direct link to the task in Kaneo
- Project, status, and priority details
- The name of the user who triggered the event when available
KANEO_CLIENT_URL is set to your public Kaneo URL so task links work correctly.