An interface to handle sending messages to one or more designated users.
- iOS 10.0+
- Mac Catalyst 13.0+Beta
- watchOS 3.2+
Use the methods of the
INSend protocol to resolve, confirm, and handle requests to send messages to the designated users. Adopt this protocol in an object of your Intents extension that is capable of sending the messages.
Siri delivers an
INSend object to your handler when the user asks to send a message using your app. The provided intent object contains the recipients and content of the message. Use the methods of this protocol to resolve the parameters and to validate that sending the message is possible.