Initializes a send message intent object with the specified content and recipients.
- iOS 10.0–11.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.2–4.0Deprecated
The intended recipients of the message.
The contents of the message.
The name of a group that should receive the message. Specify
nilif you do not want to send the message to a group address.
The specific service to use when sending the message. You may specify
nilif your app has only one way of sending messages.
The person that created the message.
An initialized intent or
nil if the object could not be created.
Normally, you do not create instances of this class yourself. Instead, Siri creates instances when the user asks to send a message to another user. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.