Share via


BasicCard Class

A basic card.

Constructor

pydantic model BasicCard

Parameters

Name Description
title
Required
str

Title of the card

subtitle
Required
str

Subtitle of the card

text
Required
str

Text for the card

images
Required

Array of images for the card

buttons
Required

Set of actions applicable to the current card

tap
Required

This action will be activated when user taps on the card itself

Keyword-Only Parameters

Name Description
title
Default value: None
subtitle
Default value: None
text
Default value: None
images
Default value: None
buttons
Default value: None
tap
Default value: None

Attributes

buttons

field buttons: list[CardAction] = None

images

field images: list[CardImage] = None

subtitle

field subtitle: str = None

tap

field tap: CardAction = None

text

field text: str = None

title

field title: str = None