MCPcopy Create free account
hub / github.com/Roy3838/Observer / getTelegramCode

Method getTelegramCode

app/src/utils/settings.ts:323–323  ·  view source on GitHub ↗

The persisted Telegram code, or null if one hasn't been generated yet.

()

Source from the content-addressed store, hash-verified

321
322 /** The persisted Telegram code, or null if one hasn't been generated yet. */
323 public getTelegramCode(): string | null { return localStorage.getItem(this.TELEGRAM_CODE_KEY); }
324
325 /** Mints a fresh Telegram code, e.g. after the chat sent /stop and revoked the old one. */
326 public rotateTelegramCode(): string { return this.rotateCode(this.TELEGRAM_CODE_KEY); }

Callers 2

silentValueFunction · 0.80
codeForFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected