unraid / unraid/webgui

Enable group topic IDs in telegram notifications

Open
#2,430 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
253
Forks
106
Avg merge
6d 22h
Merged PRs (30d)
12

Description

Th Unraid WEBgui only has a bot access token field, but I would like to send the notifications into a group with the bot, to be more exact into a group topic. Is there a way for this? I somehow successfully configured so that the bot sends the notification into the group by first pasting the chat ID into the "Bot access token" field, saving it, then changing it to the API key of the bot. This might be a bot, I don't know the way to enter chat ids though.

I stumpled accros this comment on the forum: https://forums.unraid.net/topic/121801-notification-settings-expose-chatid-in-telegram-agent-configuration/#findComment-1499447

I edited Telegram.sh in /boot/config/plugins/dynamix/notifications/agents and created the topicid file containing the topic ID in /boot/config/plugins/dynamix/telegram as described and it works. It would be nice to be a feature out of the box, and I think it should be accessible from the WEBGUI.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Telegram notification agent at /boot/config/plugins/dynamix/notifications/agents/Telegram.sh and the related WEBGUI notification settings. Compare the existing chat ID and topicid workaround described in the issue, then verify the configuration can be entered through the UI and sends notifications to the selected group topic.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, shell
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.