INSendMessageIntentResponse
INSendMessageIntentResponse
INSendMessageIntentResponse Class of Intents Your app’s response to a send message intent.
class INSendMessageIntentResponseOverview
Use an INSendMessageIntentResponse object to specify the results of sending a message to another user. You create instances of this class when confirming or handling a send message intent. Use this object to communicate whether the message was successfully sent or whether an error occurred.
You create an INSendMessageIntentResponse object in the confirm(intent:completion:)) and handle(intent:completion:)) methods of your send message handler object. For more information about implementing your handler object, see INSendMessageIntentHandling.