Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RichResponse

Hierarchy

Implements

Constructors

constructor

Properties

Optional items

A list of UI elements which compose the response The items must meet the following requirements:

  1. The first item must be a SimpleResponse
  2. At most two SimpleResponse
  3. At most one rich response item (e.g. BasicCard, StructuredResponse, MediaResponse, or HtmlResponse)
  4. You cannot use a rich response item if you're using an actions.intent.OPTION intent ie ListSelect or CarouselSelect

Optional linkOutSuggestion

An additional suggestion chip that can link out to the associated app or site.

Optional suggestions

A list of suggested replies. These will always appear at the end of the response. If used in a FinalResponse, they will be ignored.

Methods

add

addSuggestion

  • addSuggestion(suggestions: (string | Suggestions)[]): this

Generated using TypeDoc