Skip to content

fix(telegram): send documents to correct topic in forum chats#181

Draft
asianviking wants to merge 1 commit intobanteg:masterfrom
asianviking:fix/dm-file-bug
Draft

fix(telegram): send documents to correct topic in forum chats#181
asianviking wants to merge 1 commit intobanteg:masterfrom
asianviking:fix/dm-file-bug

Conversation

@asianviking
Copy link
Contributor

Summary

  • Remove reply_to_message_id from send_document() call to fix routing issue where files were sent to DMs instead of the forum topic
  • The message_thread_id alone correctly routes documents to the topic

Test plan

  • Send a file in a forum topic and verify it stays in that topic (not appearing in DMs)
  • Send a file in a normal chat to confirm it still works

🤖 Generated with Claude Code

Remove reply_to_message_id from send_document call to fix routing
issue where files were sent to DMs instead of the forum topic.
The message_thread_id alone correctly routes to the topic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@banteg banteg added the bug Something isn't working label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants