You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@claude Implement this issue. Follow these steps precisely:
Checkout the base branch and create your working branch:
git fetch origin meta/17 && git checkout meta/17 && git checkout -b claude/17-8-telegram-adapter
Implement all tasks listed in this issue
Commit and push your branch:
git push -u origin claude/17-8-telegram-adapter
Updated ChannelAdapter interface to match what adapters actually implement (channelType, capabilities as property, initialize/shutdown/onMessage/send/sendA2H)
packages/channels/telegram — Telegram Bot API adapter:
TelegramApiClient — zero-dependency HTTP client using fetch
Activity
claude commentedon Apr 10, 2026
@claude Implement this issue. Follow these steps precisely:
git fetch origin meta/17 && git checkout meta/17 && git checkout -b claude/17-8-telegram-adapter
git push -u origin claude/17-8-telegram-adapter
gh pr create --base meta/17 --head claude/17-8-telegram-adapter --title "Channel: Telegram Adapter" --body "fixes Channel: Telegram Adapter #8"
claude commentedon Apr 10, 2026
Claude finished @claude[bot]'s task in 13m 11s —— View job •
claude/issue-8-20260410-2205• Create PR ➔Implementing Telegram Channel Adapter
packages/core,packages/channels/telegram)ChannelAdapterinterface & types/start), callback queries, attachments (photo, video, document, audio, voice, sticker)reply_to_message_id)AUTHORIZE→ ✅/❌ inline keyboard;COLLECTw/ options → one button per option{ threads: false, buttons: true, selectMenus: false, replyMessages: true, dms: true, fileUpload: true }claude/issue-8-20260410-2205What was built
packages/core— foundational types:ChannelAdapterinterface with lifecycle, inbound/outbound, A2H hooksAUTHORIZE,COLLECT,INFORM,ESCALATE,RESULTpackages/channels/telegram— Telegram Bot API adapter:TelegramAdapter— implementsChannelAdapter, supports injected API client for testingTelegramApiClient— zero-dependency HTTP client usingfetchInMemoryThreadStore— groups reply chains into virtual OpenThreads threadsclaude commentedon Apr 10, 2026
@claude Implement this issue.
meta/17meta/17fixes #8in the PR bodyclaude commentedon Apr 10, 2026
Claude finished @claude[bot]'s task in 19m 50s —— View job •
claude/17-issue-8-20260410-2220• Create PR ➔Implementing Telegram Channel Adapter
meta/17branch structure and existing code@openthreads/coreChannelAdapterinterface in core to match adapter usagepackages/channels/telegram/)TelegramApiClient.ts— zero-dependency fetch-based Bot API clientTelegramAdapter.ts— main adapter (webhook, inbound/outbound, A2H)utils/markup.ts— inline keyboard builders + callback data parserutils/normalize.ts— replyTo URL, reply chain key, sender name helpersTelegramAdapter.test.ts— full integration suite (mocked API client)conformance.test.ts— shared adapter conformance testsmarkup.test.ts— inline keyboard builders and callback parsingnormalize.test.ts— URL builder, key generation, sender nameclaude/17-issue-8-20260410-2220What was built
Core changes (
packages/core):A2HInformIntent,A2HAuthorizeIntent,A2HCollectIntent,A2HCollectOption,A2HIntentMessageInboundEnvelope,OutboundEnvelope,SendResult,A2HResponse,MessageHandler,A2HSendOptions,MessageItem(newadapter-api.ts)ChannelAdapterinterface to match what adapters actually implement (channelType,capabilitiesas property,initialize/shutdown/onMessage/send/sendA2H)packages/channels/telegram— Telegram Bot API adapter:TelegramApiClient— zero-dependency HTTP client usingfetchTelegramAdapter implements ChannelAdapter:{ threads: false, buttons: true, selectMenus: false, replyMessages: true, dms: true, fileUpload: true }reply_to_messagethreadId = reply_to_message_id ?? message_idhandleUpdate(update)— webhook entry point (called bypackages/server)utils/markup.ts—buildAuthorizeKeyboard,buildCollectKeyboard,parseCallbackDatautils/normalize.ts—collectReplyKey,buildReplyToUrl,deriveSenderName•
claude/17-issue-8-20260410-2220