add telegram channel worker with webhook and media support#62
add telegram channel worker with webhook and media support#62deathbyknowledge wants to merge 1 commit intomainfrom
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1230228a57
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ...(secrets.telegramBotToken | ||
| ? { TELEGRAM_BOT_TOKEN: secrets.telegramBotToken } | ||
| : {}), |
There was a problem hiding this comment.
Configure Telegram webhook base URL during wizard deploy
In the Alchemy deployment path, the Telegram worker only receives TELEGRAM_BOT_TOKEN, so deployments created via gateway/alchemy never set TELEGRAM_WEBHOOK_BASE_URL. That breaks the post-deploy flow because TelegramChannel.start returns an error when this value is missing (channels/telegram/src/index.ts requires it before starting), despite the wizard step saying webhook setup is automatic. Users selecting Telegram in the wizard will hit a hard failure on gsv channel telegram start unless they manually inject the secret.
Useful? React with 👍 / 👎.
Summary
channels/telegramworker using Telegram Bot API webhooks + account Durable Object stateValidation
bunx tsc --noEmit -p channels/telegram/tsconfig.jsonbunx tsc --noEmit -p gateway/tsconfig.jsonbunx tsc --noEmit -p gateway/ui/tsconfig.jsoncargo check --manifest-path cli/Cargo.toml