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
A handler's context is per-update and may be canceled (Timeout
middleware) when the handler returns, so it can't drive background work.
Add Bot.Background()/Context.Background() — a context tied to the bot's
run lifetime — for proactive sends to any chat from timers, queues or
goroutines. Returns an already-canceled context before Run/after stop.
Add Bot.Logger(); demo via the example's /remind, document in the guide,
note in the changelog.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments