Contents

INSendMessageIntentResponse

Your app’s response to a send message intent.

Declaration

class INSendMessageIntentResponse

Mentioned in

Overview

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.

Topics

Initializing the Response Object

Getting the Response Code

Providing the Message

Instance Properties

See Also

Sending a Message