feat(telegram): add native DM draft streaming with segmented stream results#340
feat(telegram): add native DM draft streaming with segmented stream results#340lurenjia534 wants to merge 3 commits into
Conversation
|
@lurenjia534 is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
Ah, I forgot to upload a video showing this PR screen-20260407-075015-1775519367603-10mb.mp4's effect it currently only works in private chats, since Telegram's official streaming API only allows us to use it in private conversations. |
# Conflicts: # README.md # apps/docs/content/docs/adapters.mdx # apps/docs/content/docs/index.mdx # apps/docs/content/docs/streaming.mdx # packages/adapter-telegram/README.md # packages/adapter-telegram/src/index.ts # packages/chat/src/thread.test.ts # packages/chat/src/thread.ts
|
@visyat I resolved the merge conflict and pushed a follow-up fix for Telegram streaming segmentation. The latest commit prevents streamed MarkdownV2 content from being truncated when the rendered Telegram payload grows beyond the original markdown source Verified locally:
Could you take another look when you have a chance? |
|
Hi @visyat, any updates on this? |
Summary
Add native Telegram DM streaming via
sendMessageDraftwhile preserving Chat SDK's existing post+edit fallback for non-DM threads.This PR:
parse_modewhen Telegram rejects markdown entity parsingTest plan
pnpm checkpnpm typecheckpnpm test:workspacepnpm build