bird amb attachment
Usage
Codevoorbeeld
bird amb attachment <message-id> <index> [flags]Description
Download and decrypt one attachment from an Apple Messages for Business message.
<index> is the attachment's zero-based position in the message's content.attachments
array; read the message with bird amb get to see its attachments. For a
received attachment, <message-id> is the message.id of the amb.received webhook
event. Apple keeps attachments for 30 days, renewed when a reference is reused,
so download them on receipt.
The bytes are written to --output when set, otherwise to stdout:
bird amb attachment amb_123 0 --output photo.jpg
Examples
Codevoorbeeld
bird amb attachment <message-id> <index> --output photo.jpgOptions
| Name | Description |
|---|---|
--output, -o | Write the bytes to this file instead of stdout |
Related
| Name | Description |
|---|---|
bird amb get | Get a message |
bird amb list | List messages |
bird amb list-events | List events for a message |
bird amb send | Reply to an Apple Messages conversation |
Gerelateerde bronnen
Ga verder met de documentatie, handleidingen en voorbeelden voor dit onderwerp.