Repository navigation
notify 0.1.6: a Telegram channel's threadId posts into one topic of a forum group - #1373
Open
garyhedgeme wants to merge 1 commit into
Open
garyhedgeme wants to merge 1 commit into
garyhedgeme wants to merge 1 commit into
Conversation
… forum group Telegram's sendMessage takes message_thread_id to reach a topic of a forum group; without it every alert lands in the group's General topic. The channel takes an optional threadId (number or numeric string), the page shows it as Topic ID, and the README says where to find it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Telegram's
sendMessagereaches one topic of a forum group throughmessage_thread_id; without it, every alert lands in the group's General topic. This adds an optionalthreadIdto the Telegram channel.channels.mjs:threadId(a number or a numeric string) goes out asmessage_thread_id; an empty or missing one sends nothing extra, so existing channels behave as before.page/app.js: the channel form shows it as Topic ID, not required.README.md: the example carries it, and the options paragraph says where to find the id (the number after the group in at.me/c/<group>/<topic>link).notify.test.mjs: nomessage_thread_idwithoutthreadId; a number and a numeric string both go out as a number.bun testinpackages/notify: 78 pass, 0 fail. We have run this patch against a real forum group: the alert arrived in the topic.🤖 Generated with Claude Code