Class BasicCard (2.15.1)

BasicCard(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The basic card message. Useful for displaying information.

Attributes

NameDescription
title str
Optional. The title of the card.
subtitle str
Optional. The subtitle of the card.
formatted_text str
Required, unless image is present. The body text of the card.
image google.cloud.dialogflow_v2beta1.types.Intent.Message.Image
Optional. The image for the card.
buttons Sequence[google.cloud.dialogflow_v2beta1.types.Intent.Message.BasicCard.Button]
Optional. The collection of card buttons.

Inheritance

builtins.object > proto.message.Message > BasicCard

Classes

Button

Button(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The button object that appears at the bottom of a card.