IReceiptItem interface
属性
| image | 要显示在卡片上的图像。 某些通道可以将图像作为单独的消息发送,或者只是包含指向图像的链接。 |
| price | 货币金额。 |
| quantity | 给定类型的项数。 |
| subtitle | |
| tap | 当用户点击“项目”气泡时,将激活此操作。 并非所有频道都支持点击操作。 |
| text | 文本字段显示在副标题下方,仅与字体样式中的“副标题”不同。 |
| title | 项的标题。 |
属性详细信息
image
price
货币金额。
price: string
属性值
string
quantity
给定类型的项数。
quantity: string
属性值
string
subtitle
tap
text
文本字段显示在副标题下方,仅与字体样式中的“副标题”不同。
text: string
属性值
string
title
项的标题。
title: string
属性值
string