Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support threads for telegram notifications #447

Open
dotX12 opened this issue Dec 6, 2024 · 1 comment
Open

Feature: support threads for telegram notifications #447

dotX12 opened this issue Dec 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dotX12
Copy link

dotX12 commented Dec 6, 2024

First of all I want to say thank you for this project.

I have a big request to add support for threads for notifications using telegram.
Add an optional thread_id field that will influence which thread a telegram message will go to in a channel/chat.

In a recent (or long ago) update, it was possible to create threads in a telegram group, and to send a message to a specific thread, you need to specify message_thread_id

Example:

curl -X POST -H 'Content-Type: application/json' \
  -d '{"message_thread_id": "4", "chat_id": "-100_<chat_id>", "text": "some message"}' \
  https://api.telegram.org/bot<BOT_TOKEN>/sendMessage

image

@vmihailenco
Copy link
Member

Sure thing, will add.

We're in the middle of a big refactoring so this will have to wait a bit.

@vmihailenco vmihailenco added the enhancement New feature or request label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants