fix(route/telegram): fix import style (#18926)
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user