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
{{ message }}
Repository navigation
Commit 5d366be
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: extensions/telegram/src/polling-session.ts
+29-5Lines changed: 29 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,11 @@ function resolveTelegramRestartDelayMs(
110
110
return{ delayMs, stopTimeoutSuffix };
111
111
}
112
112
113
+
// Surfaced in logs and channel status when getUpdates returns 409; the only
114
+
// user-fixable causes are a second poller on the same token or a stale webhook.
115
+
constTELEGRAM_GET_UPDATES_CONFLICT_HINT=
116
+
" Another OpenClaw gateway, script, or Telegram poller may be using this bot token; stop the duplicate poller or switch this account to webhook mode.";
117
+
113
118
constDEFAULT_POLL_STALL_THRESHOLD_MS=120_000;
114
119
constMIN_POLL_STALL_THRESHOLD_MS=30_000;
115
120
constMAX_POLL_STALL_THRESHOLD_MS=600_000;
@@ -813,10 +818,12 @@ export class TelegramPollingSession {
? " Another OpenClaw gateway, script, or Telegram poller may be using this bot token; stop the duplicate poller or switch this account to webhook mode."
0 commit comments