Text Message

Use the following methods of ISN_TextMessage for composing and sending text message.

void Send(string body, string recipient, Action<TextMessageComposeResult> callback = null);
void Send(string body, string recipient, Texture2D image, Action<TextMessageComposeResult> callback = null);
void Send(string body, string recipient, Texture2D[] images, Action<TextMessageComposeResult> callback = null);
void Send(string body, string[] recipients, Action<TextMessageComposeResult> callback = null);
void Send(string body, string[] recipients, Texture2D image, Action<TextMessageComposeResult> callback = null);
void Send(string body, string[] recipients, Texture2D[] images, Action<TextMessageComposeResult> callback = null);

See the sending example below:

using SA.IOSNative.Social;
...

ISN_TextMessage.Send("Hello Google", "+18773555787", HandleOnTextMessageResult);

void HandleOnTextMessageResult(TextMessageComposeResult result) {
    Debug.Log("Message result: " + result);
}