/* eslint-disable @typescript-eslint/no-unused-vars */ // @copy import { Readable } from 'stream' // @copy import { User, Chat, ChatPreview, ChatMember, Dialog, TermsOfService, SentCode, MaybeDynamic, InputPeerLike, UploadedFile, UploadFileLike, InputFileLike, PartialExcept, PartialOnly, FileDownloadParameters, Message, ReplyMarkup, InputMediaLike, InputInlineResult, InputStickerSetItem, TakeoutSession, StickerSet, Poll, TypingStatus, Photo, ChatEvent, ChatInviteLink, PeersIndex, GameHighScore, ArrayWithTotal, BotCommands, MessageMedia, RawDocument, IMessageEntityParser, FormattedString, CallbackQuery, ChatMemberUpdate, ChosenInlineResult, DeleteMessageUpdate, HistoryReadUpdate, InlineQuery, ParsedUpdate, PollUpdate, PollVoteUpdate, UserStatusUpdate, UserTypingUpdate, Conversation, BotStoppedUpdate, BotChatJoinRequestUpdate, ChatJoinRequestUpdate, PeerReaction, MessageReactions, } from '../types' // @copy import { MaybeArray, MaybeAsync, SessionConnection, AsyncLock, } from '@mtcute/core' // @copy import { tdFileId } from '@mtcute/file-id' // @copy import { Logger } from '@mtcute/core/src/utils/logger'