Telegram Notification VSTS Extension
Telegram Notification task uses Telegraf - Telegram Bot Framework for Node.js and allows you to send customizable notifications to your Telegram chats and groups. This task has some predefined options of what info (e.g build/release status, ID etc.) to include in the message about your build/release process.
Only three steps to start receiving your notifications: 1. Create a Bot 2. Get Chat Ids 3. Customize your notifications
Follow the instructions below to configure the Telegram Notifications task to send messages to a group or chat.
Create a Bot
First of all, you need to create a Telegram bot which will later send all the notifications to your chats.
Having a bot allows you to fully customize its appearance (nickname, user picture) and add it to as many chats or groups as you want.
Obtain chat IDs
Currently, Telegram doesn't offer a convenient way to obtain all chat IDs from bot API. So there are two ways to do it:
1. Add @RawDataBot to your group
Upon joining it will send a JSON where your chat ID will be located at message.chat.id.
Don't forget to remove the bot from chat right after.
2. Use built-in "Get chat ID" feature (Preview)
If you want the bot to send notifications directly to you (not a group), the trick with @RawDataBot won't work. You need to:
Loading More data ...