Skip to main content

send_message

Function send_message 

Source
pub fn send_message(
    chat_guid: &str,
    message: &str,
    attachment: &str,
    v: MacOsVersion,
    format_address: &(dyn Fn(&str) -> String + Send + Sync),
) -> Option<String>
Expand description

Send a message and/or attachment to a chat by GUID.

On Tahoe, replaces iMessage/SMS prefix with “any” in the GUID.