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

Method isWebmMedia

rev/rev.ts:394–400  ·  view source on GitHub ↗
(media: any)

Source from the content-addressed store, hash-verified

392 }
393 return false;
394 }
395
396 private isWebmMedia(media: any): boolean {
397 if (media instanceof Api.MessageMediaDocument) {
398 const doc = media.document as Api.Document;
399 return (doc?.mimeType || '').toLowerCase().includes('webm');
400 }
401 return false;
402 }
403

Callers 1

prepareMediaPathsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected