The persisted Telegram code, or null if one hasn't been generated yet.
()
| 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); } |
no outgoing calls
no test coverage detected