(min: number, max: number)
| 820 | async function refreshActiveCaptchas(client: TelegramClient): Promise<void> { |
| 821 | for (const [userId, state] of states.entries()) { |
| 822 | const promptMsgId = state.msgIds[0]; |
| 823 | if (!promptMsgId) continue; |
| 824 | try { |
| 825 | const isImg = state.mode === CaptchaMode.IMG_DIGIT || state.mode === CaptchaMode.IMG_MIXED; |