Messaging
Send messages and search the user’s received messages.
Overview
With messaging intents, users can ask Siri to compose new messages, read existing messages, and indicate to other users whether they’re available.
To allow users to compose and send text or audio messages with your service, support INSendMessageIntent. Donate interactions when the user sends and receives messages in your app to give the system cues about which contacts to suggest in Share Sheets.
Support INSearchForMessagesIntent and INSetMessageAttributeIntent to allow Siri to announce incoming messages on AirPods, and mark announced messages as INMessageAttribute.read or INMessageAttribute.played. Adopting INSearchForMessagesIntent also enables users to see incoming messages on a INCarAudioSource.sourceCarPlay-enabled display.
[Image]
In iOS, you can use an Intents UI app extension to display a custom message composition interface.
Topics
Essentials
Sending a Message
INSendMessageIntentHandlingINSendMessageIntentINSendMessageIntentResponseINOutgoingMessageTypeINSendMessageAttachmentINSendMessageIntentDonationMetadata
Editing a Message
INEditMessageIntentINEditMessageIntentResponseINEditMessageIntentHandlingINEditMessageIntentResponseCode
Unsending a Message
INUnsendMessagesIntentINUnsendMessagesIntentResponseINUnsendMessagesIntentHandlingINUnsendMessagesIntentResponseCode
Reacting to a Message
Searching for Messages
Setting Message Attributes
Sharing the User’s Focus Status
INShareFocusStatusIntentHandlingINShareFocusStatusIntentINShareFocusStatusIntentResponseINShareFocusStatusIntentResponseCodeINFocusStatusINFocusStatusCenterINFocusStatusAuthorizationStatus