Safe sequence
- Verify signature
- Persist the update id (or enqueue atomically)
- Return 200
- Process
On Cloudflare Workers, ctx.waitUntil helps after the response, but durable storage still matters for retries.
See latency budget and APIs and webhooks.
BotNetwork
ACK without durability is how you lose updates.
On Cloudflare Workers, ctx.waitUntil helps after the response, but durable storage still matters for retries.
See latency budget and APIs and webhooks.