Class Message (0.8.0)

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.

Table card for Actions on Google.

Optional. The platform that this message is intended for.

Classes

BasicCard

The basic card message. Useful for displaying information.

Optional. The subtitle of the card.

Optional. The image for the card.

BrowseCarouselCard

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

Optional. Settings for displaying the image. Applies to every image in [items][google.cloud.dialogflow.v2.Intent.Message.Bro wseCarouselCard.items].

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.

ColumnProperties

Column properties for TableCard.

Optional. Defines text alignment for all cells in this column.

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.

MediaContent

The media content card for Actions on Google.

Required. List of media objects.

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.

TableCard

Table card for Actions on Google.

Optional. Subtitle to the title.

Optional. Display properties for the columns in this table.

Optional. List of buttons for the card.

TableCardCell

Cell of TableCardRow.

TableCardRow

Row of TableCard.

Optional. Whether to add a visual divider after this row.

Text

The text response message.