Skip to content

Add optional topic_id field for Telegram message sending#1583

Open
mrf1n wants to merge 1 commit into
gnmyt:developmentfrom
mrf1n:development
Open

Add optional topic_id field for Telegram message sending#1583
mrf1n wants to merge 1 commit into
gnmyt:developmentfrom
mrf1n:development

Conversation

@mrf1n

@mrf1n mrf1n commented Jul 17, 2026

Copy link
Copy Markdown

📋 Description

Adds an optional topic_id field to the Telegram integration so messages can be sent to a specific topic/thread within a Telegram group that has Topics enabled. Without this, all messages land in the group's "General" topic regardless of configuration, which is limiting for groups organized into multiple topics.

The topic_id is passed through to Telegram's sendMessage API as message_thread_id only when provided, so existing integrations without a topic configured are unaffected.

🚀 Changes made to ...

  • 🔧 Server
  • 🖥️ Client
  • 📚 Documentation
  • 🔄 Other: ___

Server: server/integrations/telegram.js — added optional topic_id field (validated with /^\d+$/) and threaded it through send() into the Telegram API payload as message_thread_id.

Client: Added the topic_id field label/description to all 14 locale files (en, de, bg, da, es, fr, id, it, nl, pl, pt, ru, tr, zh).

✅ Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have looked for similar pull requests in the repository and found none

🔗 Related Issues

None — this is a new feature, not tied to an existing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant