mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
ee1c025ea7
* fix(telegram): fix DM replies failing with "chat not found" postChannelMessage was double-wrapping the channel ID with the telegram: prefix via encodeThreadId, producing "telegram:telegram:<chatId>". This caused sendMessage to be called with chat_id "telegram" instead of the actual chat ID. Pass the channel ID directly to postMessage which already handles prefix resolution via resolveThreadId. Made-with: Cursor * test(telegram): add postChannelMessage tests Verify channel ID is not double-prefixed and works with both telegram:-prefixed and raw channel IDs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository
We have a quick list of common questions to get you started engaging with this project in our documentation