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

Function isTgsFormat

yvlu/yvlu.ts:62–66  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

60 return String(raw);
61 }
62}
63
64async function downloadEntityAvatar(client: any, entity: any): Promise<Buffer | undefined> {
65 if (!client || !entity) return undefined;
66 const key = stableEntityKey(entity);
67 if (key && avatarCache.has(key)) return avatarCache.get(key);
68
69 // Resolve a full entity with photo + accessHash. getSender() may return a

Callers 1

YvluPluginClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected