Provide a unique user experience with custom interactive messages.
You can use your custom interactive message—by setting the
app to reference your extension.
When sending a custom interactive message, use the type value of
interactive and include the
interactive field in the message JSON. The
interactive field is a dictionary that describes the iMessages extension to use. The dictionary also contains data that the Messages app passes to the extension.
To control the appearance of the interactive message that Messages displays on the customer’s device, use the
received dictionary. Note that the Messages app ignores the imageIdentifier and style keys when using a custom interactive message. For the list of received message dictionary keys, see