Message constructor

Message(
  1. {DialogPlatform platform = DialogPlatform.PLATFORM_UNSPECIFIED,
  2. DialogText? text,
  3. DialogImage? image,
  4. QuickReplies? quickReplies,
  5. DialogCard? card,
  6. Map<String, dynamic>? payload,
  7. List<SimpleResponse>? simpleResponses,
  8. BasicCard? basicCard,
  9. List<Suggestion>? suggestions,
  10. LinkOutSuggestion? linkOutSuggestion,
  11. ListSelect? listSelect,
  12. CarouselSelect? carouselSelect,
  13. Map<String, dynamic>? browseCarouselCard,
  14. Map<String, dynamic>? tableCard,
  15. Map<String, dynamic>? mediaContent}
)

A rich response message.

Implementation

Message({
  this.platform = DialogPlatform.PLATFORM_UNSPECIFIED,
  this.text,
  this.image,
  this.quickReplies,
  this.card,
  this.payload,
  this.simpleResponses,
  this.basicCard,
  this.suggestions,
  this.linkOutSuggestion,
  this.listSelect,
  this.carouselSelect,
  this.browseCarouselCard,
  this.tableCard,
  this.mediaContent,
});