Class BasicCard (2.34.0)

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

The basic card message. Useful for displaying information.

Attributes

Name Description
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 MutableSequence[google.cloud.dialogflow_v2beta1.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.