INSendMessageIntentHandling
An interface to handle sending messages to one or more designated users.
Declaration
protocol INSendMessageIntentHandling : NSObjectProtocolMentioned in
Overview
Use the methods of the INSendMessageIntentHandling protocol to resolve, confirm, and handle requests to send text or audio 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 INSendMessageIntent 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.
Topics
Resolving the Intent Parameters
resolveRecipients(for:with:)resolveOutgoingMessageType(for:with:)resolveContent(for:with:)resolveSpeakableGroupName(for:with:)