Skip to content

Documentation / @agentick/connector-imessage / sendIMessage

Function: sendIMessage() ​

sendIMessage(handle, text): Promise<void>

Defined in: imessage-send.ts:9

Send an iMessage via AppleScript.

Uses osascript to drive Messages.app. The handle can be a phone number (with country code) or an email address.

Parameters ​

handle ​

string

text ​

string

Returns ​

Promise<void>

Released under the ISC License.