Message constructor
Message({
- DialogPlatform platform = DialogPlatform.PLATFORM_UNSPECIFIED,
- DialogText? text,
- DialogImage? image,
- QuickReplies? quickReplies,
- DialogCard? card,
- Map<
String, dynamic> ? payload, - List<
SimpleResponse> ? simpleResponses, - BasicCard? basicCard,
- List<
Suggestion> ? suggestions, - LinkOutSuggestion? linkOutSuggestion,
- ListSelect? listSelect,
- CarouselSelect? carouselSelect,
- Map<
String, dynamic> ? browseCarouselCard, - Map<
String, dynamic> ? tableCard, - 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,
});