Parameters
required
Attachment object
Returns
Promise<Buffer>
File content as BufferDocumentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
readAttachment(attachment: Attachment): Promise<Buffer>
import { readAttachment } from '@photon-ai/imessage-kit/helpers'
const buffer = await readAttachment(attachment)
// Process buffer...
Promise<Buffer>
File content as BufferWas this page helpful?