fix(route/telegram): fix import style (#18926)

This commit is contained in:
Tony
2025-04-23 18:54:26 +08:00
committed by GitHub
parent 71624adf1b
commit 4b0215d29d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import InvalidParameterError from '@/errors/types/invalid-parameter';
import { client, decodeMedia, getClient, getFilename, getMediaLink, streamDocument, streamThumbnail } from './client';
import { returnBigInt as bigInt } from 'telegram/Helpers';
import { HTMLParser } from 'telegram/extensions/html';
import { returnBigInt as bigInt } from 'telegram/Helpers.js';
import { HTMLParser } from 'telegram/extensions/html.js';
import { DataItem } from '@/types';
import type { Api } from 'telegram';
+2 -2
View File
@@ -1,7 +1,7 @@
import { Api, TelegramClient } from 'telegram';
import { UserAuthParams } from 'telegram/client/auth';
import { StringSession } from 'telegram/sessions';
import { getAppropriatedPartSize } from 'telegram/Utils';
import { StringSession } from 'telegram/sessions/index.js';
import { getAppropriatedPartSize } from 'telegram/Utils.js';
import { config } from '@/config';
import ConfigNotFoundError from '@/errors/types/config-not-found';