(chatId: number, mode: string, day: number, statusCallback?: (message: string, forceUpdate?: boolean) => Promise<void>)
| 518 | limit: 200, |
| 519 | hash: 0 as any, |
| 520 | })); |
| 521 | if ("users" in result) { |
| 522 | const admins = result.users as Api.User[]; |
| 523 | for (const admin of admins) { |
| 524 | adminIds.add(Number(admin.id)); |
| 525 | } |
| 526 | } |
| 527 | } catch (error) { |
| 528 | console.error("Failed to get admins:", error); |
| 529 | } |
no test coverage detected