Class Message (0.7.2)

Corresponds to the Response field in the Dialogflow console.

Returns a text response.

Displays quick replies.

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.

Displays a basic card for Actions on Google.

Displays a link out suggestion chip for Actions on Google.

Displays a carousel card for Actions on Google.

Synthesizes speech in Telephony Gateway.

Rich Business Messaging (RBM) text response. RBM allows businesses to send enriched and branded versions of SMS. See https://jibe.google.com/business-messaging.

Rich Business Messaging (RBM) carousel rich card response.

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.v2beta1.Intent.Messag e.BrowseCarouselCard.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.

A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect.

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.

RbmCardContent

Rich Business Messaging (RBM) Card content

Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set.

Optional. List of suggestions to include in the card.

RbmCarouselCard

Carousel Rich Business Messaging (RBM) rich card.

Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.

For more details about RBM rich cards, please see: https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.

Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

RbmStandaloneCard

Standalone Rich Business Messaging (RBM) rich card.

Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.

For more details about RBM rich cards, please see: https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-messages#rich-cards. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout.

Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout.

RbmSuggestedAction

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.

Suggested client side action: Dial a phone number

Suggested client side action: Share user location

RbmSuggestedReply

Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.

Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.

RbmSuggestion

Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).

Predefined replies for user to select instead of typing

RbmText

Rich Business Messaging (RBM) text response with suggestions.

Optional. One or more suggestions to show to the user.

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.

TelephonyPlayAudio

Plays audio from a file in Telephony Gateway.

TelephonySynthesizeSpeech

Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.

Telephony Gateway takes the synthesizer settings from DetectIntentResponse.output_audio_config which can either be set at request-level or can come from the agent-level synthesizer config.

The raw text to be synthesized.

TelephonyTransferCall

Transfers the call in Telephony Gateway.

Text

The text response message.