Class Intent.Types.Message.Types.BasicCard (4.1.0)

public sealed class BasicCard : IMessage<Intent.Types.Message.Types.BasicCard>, IEquatable<Intent.Types.Message.Types.BasicCard>, IDeepCloneable<Intent.Types.Message.Types.BasicCard>, IBufferMessage, IMessage

The basic card message. Useful for displaying information.

Inheritance

Object > Intent.Types.Message.Types.BasicCard

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

BasicCard()

public BasicCard()

BasicCard(Intent.Types.Message.Types.BasicCard)

public BasicCard(Intent.Types.Message.Types.BasicCard other)
Parameter
NameDescription
otherIntent.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
TypeDescription
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
TypeDescription
String

Image

public Intent.Types.Message.Types.Image Image { get; set; }

Optional. The image for the card.

Property Value
TypeDescription
Intent.Types.Message.Types.Image

Subtitle

public string Subtitle { get; set; }

Optional. The subtitle of the card.

Property Value
TypeDescription
String

Title

public string Title { get; set; }

Optional. The title of the card.

Property Value
TypeDescription
String