Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
getAttachmentSize(attachment: Attachment): Promise<number>
import { getAttachmentSize } from '@photon-ai/imessage-kit/helpers' const size = await getAttachmentSize(attachment) console.log(`File size: ${(size / 1024 / 1024).toFixed(2)} MB`)
Promise<number>
Was this page helpful?