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.
getAttachmentExtension(attachment: Attachment): string
import { getAttachmentExtension } from '@photon-ai/imessage-kit/helpers' const ext = getAttachmentExtension(attachment) if (ext === 'jpg' || ext === 'png') { console.log('Image file') }
string
Was this page helpful?