The handler interface for sending messages to one or more designated users.
SDKs
- iOS 10.0+
- macOS 10.12+
- watchOS 3.2+
Framework
- Intents
Declaration
protocol INSendMessageIntentHandling
Overview
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.