You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`--attachments` prints per-attachment lines with name, MIME, missing flag, and resolved path (tilde expanded). Only metadata is shown; files aren’t copied.
94
+
`--attachments` prints per-attachment lines with name, MIME, missing flag, and resolved path (tilde expanded). By default only metadata is shown; files aren’t copied.
95
+
96
+
`--convert-attachments` uses `ffmpeg`, when available on `PATH`, to cache
97
+
model-compatible copies for unsupported receive-side attachments: CAF audio is
98
+
converted to M4A and GIF images to first-frame PNGs. The original attachment
99
+
path remains unchanged; converted output is reported separately as
100
+
`converted_path` / `converted_mime_type`.
95
101
96
102
`imsg send --file` can send regular file attachments, including audio files such as
97
103
`.m4a`, through Messages.app AppleScript. Before handing the file to Messages,
@@ -111,7 +117,7 @@ send/read/typing/reaction commands that control Messages.app.
111
117
112
118
## JSON output
113
119
`imsg chats --json` emits one JSON object per chat with fields: `id`, `name`, `identifier`, `service`, `last_message_at`, `guid`, `display_name`, `contact_name`, `is_group`, `participants`.
114
-
`imsg history --json` and `imsg watch --json` emit one JSON object per message with fields: `id`, `chat_id`, `chat_identifier`, `chat_guid`, `chat_name`, `participants`, `is_group`, `guid`, `reply_to_guid`, `destination_caller_id`, `sender`, `sender_name`, `is_from_me`, `text`, `created_at`, `attachments` (array of metadata with `filename`, `transfer_name`, `uti`, `mime_type`, `total_bytes`, `is_sticker`, `original_path`, `missing`), `reactions`.
120
+
`imsg history --json` and `imsg watch --json` emit one JSON object per message with fields: `id`, `chat_id`, `chat_identifier`, `chat_guid`, `chat_name`, `participants`, `is_group`, `guid`, `reply_to_guid`, `destination_caller_id`, `sender`, `sender_name`, `is_from_me`, `text`, `created_at`, `attachments` (array of metadata with `filename`, `transfer_name`, `uti`, `mime_type`, `total_bytes`, `is_sticker`, `original_path`, `converted_path`, `converted_mime_type`, `missing`), `reactions`.
115
121
When `watch --reactions --json` sees a tapback event, the message object also includes `is_reaction`, `reaction_type`, `reaction_emoji`, `is_reaction_add`, and `reacted_to_guid`.
116
122
117
123
Note: `reply_to_guid`, `destination_caller_id`, and `reactions` are read-only metadata.
0 commit comments