Object

ReplyMessage

A dictionary with information telling Messages how and what to display in the reply message bubble.

Declaration

object ReplyMessage

Discussion

When the customer’s device receives a list or time picker, the Messages app uses the ReplyMessage dictionary to set the style, content, and images for the reply message bubble that the Messages app displays after the customer makes their selection and returns a reply to the business. When sending an interactive message, the contents of the title and subtitle may not show up on the response if these fields are overwritten by the customer.

The replyMessage dictionary keys are:

title

The main title that the Messages app shows in the header of the reply message bubble. When the customer taps the reply message bubble, the Messages app replaces the title with the customer’s selection. Limited to 512 characters.

subtitle

The subtitle that appears under the main title in the reply message bubble. When the customer taps the reply message bubble, the Messages app displays the subtitle in the header. Limited to 512 characters.

imageTitle

The attached image's title. Limited to 512 characters. Only custom interactive messages use this key.

imageSubtitle

The attached image's subtitle. Limited to 512 characters. Only custom interactive messages use this key.

secondarySubtitle

A right-aligned title. Limited to 512 characters. Only custom interactive messages use this key.

tertiarySubtitle

A right-aligned subtitle. Limited to 512 characters. Only custom interactive messages use this key.

imageIdentifier

The identifier for one of the images specified in interactiveData.data.images.

style

A style that controls the size of the view rendered by Live Layout. The default is icon. See Reply Message Style Values for the list of possible values. This key is optional.

Reply Message Style Values

The possible reply message style values are:

icon

Indicates a message bubble size of 280 x 65 points at @3x scale (840 x 195 pixels).

small

Indicates a message bubble size of 280 x 85 points at @3x scale (840 x 255 pixels).

large

Indicates a message bubble size of 280 x 210 pixels at @3x scale (840 x 630 pixels).

Relationships

Inherits From

See Also

Interactive Message Dictionaries

object BaseInteractiveMessage

The Interactive Data dictionary keys common to all interactive messages.

object InteractiveResponse

The response body is a JSON dictionary of the decoded interactive message data dictionary. The dictionary keys are listed below.

object InteractiveMessageData

The keys for the InteractiveMessageData dictionary can be used for all interactive messages.

object ImageItem

The keys to the image item dictionary used in sending interactive messages.

object InteractiveMessageResponse

A list of dictionaries contained in the feature's response.

object ReceivedMessage

The keys for the received message dictionary.