All Projects → JackB1ack → telegram-notification

JackB1ack / telegram-notification

Licence: MIT License
Azure DevOps Extension to send custom notifications to Telegram

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to telegram-notification

Telegram Bot Github
Allows to you receive GitHub notifications right in the Telegram
Stars: ✭ 103 (+505.88%)
Mutual labels:  notifications, telegram-bot
Zabbix In Telegram
Zabbix Notifications with graphs in Telegram
Stars: ✭ 710 (+4076.47%)
Mutual labels:  notifications, telegram-bot
checkmk-telegram-notify
Get alerted by Check_MK via Telegram bash script
Stars: ✭ 28 (+64.71%)
Mutual labels:  notifications, telegram-bot
RSSnotifier
Node RSS reader telegram bot. Provides notification on queries-matching elements and supports multiple users.
Stars: ✭ 15 (-11.76%)
Mutual labels:  notifications, telegram-bot
caligo
SelfBot for Telegram
Stars: ✭ 34 (+100%)
Mutual labels:  telegram-bot
chia-monitor
🍃 A comprehensive monitoring and alerting solution for the status of your Chia farmer and harvesters.
Stars: ✭ 131 (+670.59%)
Mutual labels:  notifications
azure-boards-estimate
Estimate - Planning Poker for Azure Boards
Stars: ✭ 62 (+264.71%)
Mutual labels:  azure-devops-extension
Komi-San
Telegram Group Management Bot based on Pyrogram
Stars: ✭ 27 (+58.82%)
Mutual labels:  telegram-bot
FileStreamBot
Telegram File to Link Fastest Bot , Its Generate Direct Links Quickly
Stars: ✭ 99 (+482.35%)
Mutual labels:  telegram-bot
react-notify
Tiny React's module that shows notifications.
Stars: ✭ 55 (+223.53%)
Mutual labels:  notifications
Harmonbot
Multi-Platform Factotum Bot
Stars: ✭ 30 (+76.47%)
Mutual labels:  telegram-bot
gitlab-ci-discord-webhook
⛓ Here's your serverless solution for sending build status from GitLab CI to Discord as webhooks.
Stars: ✭ 32 (+88.24%)
Mutual labels:  notifications
telegram-udf-autoit
🚀 Telegram Bot UDF for AutoIt.
Stars: ✭ 38 (+123.53%)
Mutual labels:  telegram-bot
github-vacations
Automagically ignore all notifications related to work when you are on vacations
Stars: ✭ 20 (+17.65%)
Mutual labels:  notifications
pusherman
queuing system for push notifications
Stars: ✭ 17 (+0%)
Mutual labels:  notifications
RoboThief-Telegram-Session-Stealer
Robo Thief is a software for steal telegram session .
Stars: ✭ 18 (+5.88%)
Mutual labels:  telegram-bot
foxbot
Telegram bot for finding furry image sources and inline mirroring
Stars: ✭ 25 (+47.06%)
Mutual labels:  telegram-bot
mutegram
Disable Telegram Desktop Taskbar Flashing
Stars: ✭ 26 (+52.94%)
Mutual labels:  notifications
MIRROR-HUNTER
Who are we? We are the Hunters of all Torrent in this world.🗡️.Fork from SlamDevs
Stars: ✭ 86 (+405.88%)
Mutual labels:  telegram-bot
ESPecial
ESP32 automation with web interface and telegram bot
Stars: ✭ 77 (+352.94%)
Mutual labels:  telegram-bot

Telegram Notifications for Azure Pipelines

TelegramTask 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.

Getting started

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.

  • Talk to Bot Father: follow Bot Father's instructions and create a bot
  • Save Bot Token: this token will be used by the task Bot Token
  • Add your bot to every chat you want to be notified

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. RawDataBot

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:

  • Check "Get chat Id" in task properties

GetChatId

  • Queue build or release: please make sure that this action won't affect any of your production processes. I suggest creating empty build\release definition just to get chat ID and then paste them into the real task.
  • Type /chat: while the task is running use /chat command in every chat where your bot is present SendChatCommand
  • Type /stop: use this command to finish task execution
  • Paste your chat IDs to task properties: copy all your IDs to task property (use comma as delimiter e.g -123456678,321654987)

Customize your message

There are some basic predefined features both for build and release tasks.

General

  • Add task status - shows whether the task finished successfully, failed or has some issues.

In order this to work properly, don't forget to change run conditions of the task to "Even if a previous task has failed"

  • Add project link - adds a link to your team project
  • Message - add a custom message to your notification. You can use html markup.

For Release

  • Name - The name of the current release.
  • Created by - The display name of identity that triggered the release.

For Build

  • Number - The name of the completed build.
  • Queued by - The display name of identity that queued the build.

NOTE: USE EITHER RELEASE OR BUILD RELATED OPTIONS DEPENDING ON YOUR PROCESS

NotificationResult

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].