1.2 KiB
1.2 KiB
Groups
What counts as a group
chat.chat_identifierorchat.guidwith;+;or;-;in the handle.- Example:
iMessage;+;chat1234567890(group handle). - Direct chats typically use a single handle (phone/email) without
;+;or;-;.
Where the identifiers live
chat.ROWID->chat_id(stable within one DB).chat.chat_identifier-> group handle (used by Messages).chat.guid-> group GUID (often same chat handle semantics).chat.display_name-> group name (optional).- Participants in
chat_handle_join+handle.
Sending to a group
imsg send --chat-id <rowid>(preferred; DB local).imsg send --chat-identifier <handle>(portable).imsg send --chat-guid <guid>(portable).- Uses AppleScript
chat id "<handle>"for group sends (Jared pattern). - Attachments supported same as direct sends.
Inbound metadata (JSON)
chat_idchat_identifierchat_guidchat_nameparticipants(array of handles)is_group
chat_id is preferred for routing within one machine/DB.
Notes
- Group send uses chat handle, not
buddy. - Messages from self may have empty
sender; preferSenderName+ chat metadata.