public sealed class BasicCard : IMessage<Intent.Types.Message.Types.BasicCard>, IEquatable<Intent.Types.Message.Types.BasicCard>, IDeepCloneable<Intent.Types.Message.Types.BasicCard>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Intent.Types.Message.Types.BasicCard.
The basic card message. Useful for displaying information.
Implements
IMessage<Intent.Types.Message.Types.BasicCard>, IEquatable<Intent.Types.Message.Types.BasicCard>, IDeepCloneable<Intent.Types.Message.Types.BasicCard>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
BasicCard()
public BasicCard()
BasicCard(Intent.Types.Message.Types.BasicCard)
public BasicCard(Intent.Types.Message.Types.BasicCard other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.Message.Types.BasicCard |
Properties
Buttons
public RepeatedField<Intent.Types.Message.Types.BasicCard.Types.Button> Buttons { get; }
Optional. The collection of card buttons.
Property Value | |
---|---|
Type | Description |
RepeatedField<Intent.Types.Message.Types.BasicCard.Types.Button> |
FormattedText
public string FormattedText { get; set; }
Required, unless image is present. The body text of the card.
Property Value | |
---|---|
Type | Description |
String |
Image
public Intent.Types.Message.Types.Image Image { get; set; }
Optional. The image for the card.
Property Value | |
---|---|
Type | Description |
Intent.Types.Message.Types.Image |
Subtitle
public string Subtitle { get; set; }
Optional. The subtitle of the card.
Property Value | |
---|---|
Type | Description |
String |
Title
public string Title { get; set; }
Optional. The title of the card.
Property Value | |
---|---|
Type | Description |
String |