( client: any, chatId: any, tempFiles: string[], photoSetUrl?: string )
| 385 | } |
| 386 | |
| 387 | async function sendImages( |
| 388 | client: any, |
| 389 | chatId: any, |
| 390 | tempFiles: string[], |
| 391 | photoSetUrl?: string |
| 392 | ): Promise<void> { |
| 393 | if (tempFiles.length === 1) { |
| 394 | await sendSingleImage(client, chatId, tempFiles[0], photoSetUrl); |
| 395 | } else { |
| 396 | await sendImageAlbum(client, chatId, tempFiles, photoSetUrl); |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | class CosplayPlugin extends Plugin { |
| 401 | private scraper: CosplayScraper | null = null; |
no test coverage detected