Class BasicCard (2.6.0)

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

The basic card message. Useful for displaying information. .. attribute:: title

Optional. The title of the card.

:type: str

Attributes

NameDescription
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_v2.types.Intent.Message.Image
Optional. The image for the card.
buttons Sequence[google.cloud.dialogflow_v2.types.Intent.Message.BasicCard.Button]
Optional. The collection of card buttons.

Classes

Button

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

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

Required. The title of the button.

:type: str