Open cdll opened 2 months ago
What problem does this feature solve? (这个功能解决了什么问题) ChatSDK中通过config配置快速展现一个FileCard
Describe the solution you'd like (描述您想要的解决方案) use a part of config like
{ type: 'card', content: { code: 'file', // .. some other FileCard props }, }
in box.config.messages array to display a card such as : https://chatui.io/components/file-card
box.config.messages
What does the proposed API look like? (你期望的 API 是怎样的) 配置式的
What problem does this feature solve? (这个功能解决了什么问题) ChatSDK中通过config配置快速展现一个FileCard
Describe the solution you'd like (描述您想要的解决方案) use a part of config like
in
box.config.messages
array to display a card such as : https://chatui.io/components/file-cardWhat does the proposed API look like? (你期望的 API 是怎样的) 配置式的