public sealed class Intent.Types.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
IMessageIntentTypesMessage, IEquatableIntentTypesMessage, IDeepCloneableIntentTypesMessage, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Message()
public Message()
Message(Message)
public Message(Intent.Types.Message other)
Parameter | |
---|---|
Name | Description |
other | IntentTypesMessage |
Properties
BasicCard
public Intent.Types.Message.Types.BasicCard BasicCard { get; set; }
The basic card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesBasicCard |
BrowseCarouselCard
public Intent.Types.Message.Types.BrowseCarouselCard BrowseCarouselCard { get; set; }
Browse carousel card for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesBrowseCarouselCard |
Card
public Intent.Types.Message.Types.Card Card { get; set; }
The card response.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesCard |
CarouselSelect
public Intent.Types.Message.Types.CarouselSelect CarouselSelect { get; set; }
The carousel card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesCarouselSelect |
Image
public Intent.Types.Message.Types.Image Image { get; set; }
The image response.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesImage |
LinkOutSuggestion
public Intent.Types.Message.Types.LinkOutSuggestion LinkOutSuggestion { get; set; }
The link out suggestion chip for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesLinkOutSuggestion |
ListSelect
public Intent.Types.Message.Types.ListSelect ListSelect { get; set; }
The list card response for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesListSelect |
MediaContent
public Intent.Types.Message.Types.MediaContent MediaContent { get; set; }
The media content card for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesMediaContent |
MessageCase
public Intent.Types.Message.MessageOneofCase MessageCase { get; }
Property Value | |
---|---|
Type | Description |
IntentTypesMessageMessageOneofCase |
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 |
IntentTypesMessageTypesPlatform |
QuickReplies
public Intent.Types.Message.Types.QuickReplies QuickReplies { get; set; }
The quick replies response.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesQuickReplies |
SimpleResponses
public Intent.Types.Message.Types.SimpleResponses SimpleResponses { get; set; }
The voice and text-only responses for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesSimpleResponses |
Suggestions
public Intent.Types.Message.Types.Suggestions Suggestions { get; set; }
The suggestion chips for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesSuggestions |
TableCard
public Intent.Types.Message.Types.TableCard TableCard { get; set; }
Table card for Actions on Google.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesTableCard |
Text
public Intent.Types.Message.Types.Text Text { get; set; }
The text response.
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesText |