public sealed class Message : IMessage<Intent.Types.Message>, IEquatable<Intent.Types.Message>, IDeepCloneable<Intent.Types.Message>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Intent.Types.Message.
A rich response message.
Corresponds to the intent Response
field in the Dialogflow console.
For more information, see
Rich response
messages.
Implements
IMessage<Intent.Types.Message>, IEquatable<Intent.Types.Message>, IDeepCloneable<Intent.Types.Message>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Message()
public Message()
Message(Intent.Types.Message)
public Message(Intent.Types.Message other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.Message |
Properties
BasicCard
public Intent.Types.Message.Types.BasicCard BasicCard { get; set; }
The basic card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.BasicCard |
BrowseCarouselCard
public Intent.Types.Message.Types.BrowseCarouselCard BrowseCarouselCard { get; set; }
Browse carousel card for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.BrowseCarouselCard |
Card
public Intent.Types.Message.Types.Card Card { get; set; }
The card response.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Card |
CarouselSelect
public Intent.Types.Message.Types.CarouselSelect CarouselSelect { get; set; }
The carousel card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.CarouselSelect |
Image
public Intent.Types.Message.Types.Image Image { get; set; }
The image response.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Image |
LinkOutSuggestion
public Intent.Types.Message.Types.LinkOutSuggestion LinkOutSuggestion { get; set; }
The link out suggestion chip for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.LinkOutSuggestion |
ListSelect
public Intent.Types.Message.Types.ListSelect ListSelect { get; set; }
The list card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.ListSelect |
MediaContent
public Intent.Types.Message.Types.MediaContent MediaContent { get; set; }
The media content card for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.MediaContent |
MessageCase
public Intent.Types.Message.MessageOneofCase MessageCase { get; }
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.MessageOneofCase |
Payload
public Struct Payload { get; set; }
A custom platform-specific response.
Property Value | |
---|---|
Type | Description |
Struct |
Platform
public Intent.Types.Message.Types.Platform Platform { get; set; }
Optional. The platform that this message is intended for.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Platform |
QuickReplies
public Intent.Types.Message.Types.QuickReplies QuickReplies { get; set; }
The quick replies response.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.QuickReplies |
SimpleResponses
public Intent.Types.Message.Types.SimpleResponses SimpleResponses { get; set; }
The voice and text-only responses for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.SimpleResponses |
Suggestions
public Intent.Types.Message.Types.Suggestions Suggestions { get; set; }
The suggestion chips for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Suggestions |
TableCard
public Intent.Types.Message.Types.TableCard TableCard { get; set; }
Table card for Actions on Google.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.TableCard |
Text
public Intent.Types.Message.Types.Text Text { get; set; }
The text response.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Text |