Class BasicCard (2.16.0)

Stay organized with collections Save and categorize content based on your preferences.
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_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.

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.