telegram-native-8787

bởi vercel

Quy trình làm việc chuyên gia kênh Telegram: gỡ lỗi /api/channels/telegram/webhook, cổng gốc 8787 /telegram-webhook, webhookSecret, dọn dẹp khởi động và sau khi chấp nhận…

npx skills add https://github.com/vercel-labs/vercel-openclaw --skill telegram-native-8787

Telegram Native 8787

Use after channel-debug-core for Telegram issues.

Files

  • src/app/api/channels/telegram/webhook/route.ts
  • src/server/channels/telegram/**
  • src/server/workflows/channels/drain-channel-workflow.ts
  • src/server/openclaw/config.ts
  • src/server/admin/why-not-ready.ts
  • src/app/api/channels/summary/route.ts

Runtime Path

Telegram update -> /api/channels/telegram/webhook -> secret header validation -> dedup -> fast path to sandbox port 8787 /telegram-webhook OR workflow -> local/public native handler probe -> OpenClaw Telegram provider -> Telegram user-visible reply

Parallel Lane Inputs To Consume

Before proposing a Telegram fix, consume:

  • Vercel/app logs lane: accepted webhook, planner event, fast-path result, workflow handoff, requestId/deliveryId/update_id, and project targeting proof.
  • Sandbox runtime lane: actual sandboxId, port 8787 listener, local/public /telegram-webhook probe, sanitized config has channels.telegram, webhookSecret presence without value.
  • Workflow lane: drainChannelWorkflow run state and whether 8787 not-listening/ECONNREFUSED triggered reconciliation, with verified project targeting when .vercel/project.json differs from the incident target.
  • Prior-fix comparison: webhookSecret flow, suspicious_empty_200, stale 8787 URL refresh, boot-message cleanup.

Special Checks

  • Port 8787 is not port 3000.
  • Native handler registered evidence is local/public probe behavior, especially local 401 on invalid secret.
  • Fast, empty 200 is suspicious; do not call it accepted.
  • lastRestoreMetrics.telegramListenerReady is evidence, not the whole truth.
  • webhookSecret must flow through config build, restore assets, dynamic resume files, and config hash.
  • Accepted forward does not prove a visible Telegram reply.
  • Boot message send/update/delete behavior is user-visible evidence.

Thêm skills từ vercel

benchmark-sandbox
vercel
Chạy các kịch bản đánh giá vercel-plugin trong Vercel Sandboxes thay vì các bảng WezTerm cục bộ. Cung cấp các microVM tạm thời với Claude Code và plugin được cài đặt sẵn,…
official
emil-design-eng
vercel
Kỹ năng này mã hóa triết lý của Emil Kowalski về trau chuốt giao diện người dùng, thiết kế thành phần, quyết định hoạt ảnh và những chi tiết vô hình giúp phần mềm mang lại cảm giác tuyệt vời.
official
vercel-react-best-practices
vercel
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc mã React/Next.js…
official
vercel-react-best-practices
vercel
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc mã React/Next.js…
official
write-guide
vercel
Tạo một hướng dẫn kỹ thuật dạy một trường hợp sử dụng thực tế thông qua các ví dụ tiến dần. Các khái niệm chỉ được giới thiệu khi người đọc cần đến chúng.
official
release
vercel
Phát hành vercel-plugin — chạy các cổng, tăng phiên bản, tạo tạo phẩm, commit và push. Sử dụng khi được yêu cầu "phát hành", "ship", "tăng và push", hoặc "cắt một bản phát hành".
official
deepsec
vercel
Chạy DeepSec trên bản checkout dự án Vercel từ dev3000. Sử dụng để thiết lập DeepSec một chạm, khởi tạo ngữ cảnh dự án, xử lý lần đầu có giới hạn, và…
official
backport-pr
vercel
Backport một pull request Next.js đã được merge từ canary sang một nhánh phát hành trước đó như next-16-2. Sử dụng khi người dùng yêu cầu backport, cherry-pick, hoặc mở một…
official