BasicCard 类

基本卡。

构造函数

BasicCard(*, title: str = None, subtitle: str = None, text: str = None, images=None, buttons=None, tap=None, **kwargs)

参数

名称 说明
title
必需
str

卡片的标题

subtitle
必需
str

卡片的副标题

text
必需
str

卡片的文本

images
必需
list[<xref:botframework.connector.models.CardImage>]

卡片的图像数组

buttons
必需
list[<xref:botframework.connector.models.CardAction>]

适用于当前卡的作集

tap
必需
<xref:botframework.connector.models.CardAction>

当用户点击卡片本身时将激活此作

仅限关键字的参数

名称 说明
title
必需
subtitle
必需
text
必需
images
必需
buttons
必需
tap
必需