MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / execFileAsync

Function execFileAsync

quote/quote.ts:679–683  ·  view source on GitHub ↗
(cmd: string, args: string[], timeout = 10000)

Source from the content-addressed store, hash-verified

677 */
678async function rawDownloadDocument(client: any, doc: any): Promise<Buffer | undefined> {
679 if (!client || !doc) return undefined;
680 const location = new Api.InputDocumentFileLocation({
681 id: doc.id,
682 accessHash: doc.accessHash,
683 fileReference: doc.fileReference,
684 thumbSize: "",
685 });
686 return rawDownloadFile(client, location, doc.dcId);

Callers 15

extractWebmFirstFrameFunction · 0.85
extractTgsFirstFrameFunction · 0.85
checkTgsDependenciesFunction · 0.85
convertTgsToWebmFunction · 0.85
convertMp4ToWebmFunction · 0.85
getCurrentServiceNameFunction · 0.85
handleServiceRequestFunction · 0.85
extractAnimatedFramesFunction · 0.85
encodeFramesToWebmFunction · 0.85
videoHasAudioTrackFunction · 0.85
ensureVideoHasAudioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected