[PR #928] [MERGED] Add telegram bot notification integration #1150

Closed
opened 2026-02-04 21:53:36 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/928
Author: @Elllone
Created: 10/30/2024
Status: Merged
Merged: 10/31/2024
Merged by: @meltyshev

Base: masterHead: telegram-bot-integration


📝 Commits (5)

  • c1c415d Added variables for TelegramBot integration
  • 90a4cf2 Added new custom service with telegram integration helper functions
  • 38316d7 Added notifications about creating, moving, and commenting on the card
  • 4fa6232 Added notifications about card deletion
  • 9cb38c6 Added functionality to send notifications to a specific topic

📊 Changes

7 files changed (+113 additions, -6 deletions)

View changed files

📝 docker-compose-dev.yml (+9 -5)
📝 docker-compose.yml (+5 -1)
📝 server/.env.sample (+5 -0)
📝 server/api/helpers/actions/create-one.js (+35 -0)
📝 server/api/helpers/cards/delete-one.js (+12 -0)
server/api/helpers/utils/send-telegram-message.js (+43 -0)
📝 server/config/custom.js (+4 -0)

📄 Description

Contributions made by @Elllone of DiklosGroup


This PR adds notification integration that will alert a chat, group, or topic in telegram about various actions:
plnka

To use it, the user must obtain a bot_token from the bot in telegram, as well as a chat_id. If the user needs to send notifications to a specific topic, they will also need the message_thread_id.

So, copy the bot_token to the TELEGRAM_BOT_TOKEN environment variable, the chat_id to the TELEGRAM_CHAT_ID environment variable, and, if needed, the message_thread_id to the TELEGRAM_THREAD_ID environment variable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/928 **Author:** [@Elllone](https://github.com/Elllone) **Created:** 10/30/2024 **Status:** ✅ Merged **Merged:** 10/31/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `telegram-bot-integration` --- ### 📝 Commits (5) - [`c1c415d`](https://github.com/plankanban/planka/commit/c1c415d4d3f54d8d4adaf18f2b842a28a55a6a33) Added variables for TelegramBot integration - [`90a4cf2`](https://github.com/plankanban/planka/commit/90a4cf27ef57cf087b2920ee6f18be18d88ac046) Added new custom service with telegram integration helper functions - [`38316d7`](https://github.com/plankanban/planka/commit/38316d7ff745084c00c74ed269d458163bc6a946) Added notifications about creating, moving, and commenting on the card - [`4fa6232`](https://github.com/plankanban/planka/commit/4fa62325a25b7d4ca727bb842627f54674cfa109) Added notifications about card deletion - [`9cb38c6`](https://github.com/plankanban/planka/commit/9cb38c6e30760d62bd226b97690b4c79f4cf6422) Added functionality to send notifications to a specific topic ### 📊 Changes **7 files changed** (+113 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose-dev.yml` (+9 -5) 📝 `docker-compose.yml` (+5 -1) 📝 `server/.env.sample` (+5 -0) 📝 `server/api/helpers/actions/create-one.js` (+35 -0) 📝 `server/api/helpers/cards/delete-one.js` (+12 -0) ➕ `server/api/helpers/utils/send-telegram-message.js` (+43 -0) 📝 `server/config/custom.js` (+4 -0) </details> ### 📄 Description Contributions made by @Elllone of [DiklosGroup](https://github.com/DiklosGroup) <hr/> This PR adds notification integration that will alert a chat, group, or topic in telegram about various actions: ![plnka](https://github.com/user-attachments/assets/2c8ee5f5-96ae-4278-924d-73b7c1703b39) To use it, the user must obtain a _bot_token_ from the bot in telegram, as well as a _chat_id_. If the user needs to send notifications to a specific topic, they will also need the _message_thread_id_. So, copy the bot_token to the `TELEGRAM_BOT_TOKEN` environment variable, the chat_id to the `TELEGRAM_CHAT_ID` environment variable, and, if needed, the message_thread_id to the `TELEGRAM_THREAD_ID` environment variable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:53:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1150