Class Message (0.7.2)

Corresponds to the Response field in the Dialogflow console.

The text response.

The quick replies response.

Returns a response containing a custom, platform-specific payload. See the Intent.Message.Platform type for a description of the structure that may be required for your platform.

The basic card response for Actions on Google.

The link out suggestion chip for Actions on Google.

The carousel card response for Actions on Google.

Classes

BasicCard

The basic card message. Useful for displaying information.

Optional. The subtitle of the card.

Optional. The image for the card.

Card

The card response message.

Optional. The subtitle of the card.

Optional. The collection of card buttons.

CarouselSelect

The card for presenting a carousel of options to select from.

Image

The image response message.

Optional. A text description of the image to be used for accessibility, e.g., screen readers.

LinkOutSuggestion

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

Required. The URI of the app or site to open when the user taps the suggestion chip.

ListSelect

The card for presenting a list of options to select from.

Required. List items.

QuickReplies

The quick replies response message.

Optional. The collection of quick replies.

SelectItemInfo

Additional info about the select item for when it is triggered in a dialog.

Optional. A list of synonyms that can also be used to trigger this item in dialog.

SimpleResponse

The simple response message containing speech or text.

One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.

SimpleResponses

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

Suggestion

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

Suggestions

The collection of suggestions.

Text

The text response message.