Class RbmCarouselCard (2.19.1)

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

Carousel Rich Business Messaging (RBM) rich card.

Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.

If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.

Attributes

NameDescription
card_width google.cloud.dialogflow_v2beta1.types.Intent.Message.RbmCarouselCard.CardWidth
Required. The width of the cards in the carousel.
card_contents MutableSequence[google.cloud.dialogflow_v2beta1.types.Intent.Message.RbmCardContent]
Required. The cards in the carousel. A carousel must have at least 2 cards and at most 10.

Classes

CardWidth

CardWidth(value)

The width of the cards in the carousel.

Values: CARD_WIDTH_UNSPECIFIED (0): Not specified. SMALL (1): 120 DP. Note that tall media cannot be used. MEDIUM (2): 232 DP.