Skip to main content

Module actions

Module actions 

Source
Expand description

Private API TCP service: communication layer between the imessage-rs server and the DYLD_INSERT_LIBRARIES-injected helper dylib running inside Messages.app.

Wire protocol: newline-delimited JSON over TCP on localhost. Port: 45670 + (uid - 501), clamped to [45670, 65535].

Structs§

Action
An action to send to the helper dylib.
SendOptions
Common optional fields shared across send actions (text, multipart, attachment).

Functions§

add_participant
admit_participant
answer_call
check_typing_status
create_chat
delete_chat
delete_message
download_purged_attachment
edit_message
generate_facetime_link
Generate a FaceTime link. Pass None for a new link (no existing call), or Some(uuid) for an existing call. The dylib checks callUUID != [NSNull null] — sending a non-null string that doesn’t match any active call causes a nil-dereference crash. Always send null for new sessions.
get_account_info
get_contact_card
get_embedded_media
get_facetime_availability
get_findmy_key
get_focus_status
get_imessage_availability
leave_call
leave_chat
mark_chat_read
mark_chat_unread
modify_active_alias
notify_silenced
refresh_findmy_friends
remove_participant
search_messages
send_attachment
send_message
send_multipart
send_reaction
set_display_name
set_group_chat_icon
share_contact_card
should_offer_contact_sharing
start_typing
stop_typing
unsend_message