#### 1. 前言 --- 调起客服会话相关属性参考官网文档:[https://developers.weixin.qq.com/miniprogram/dev/component/button.html](https://developers.weixin.qq.com/miniprogram/dev/component/button.html) #### 2. 使用示例 --- **show-message-card** 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,用户点击后可以快速发送小程序消息,open-type="contact"时有效 示例 ```html <button type="primary" open-type="contact" show-message-card>调起客服会话</button> ``` **send-message-title** 会话内消息卡片标题,`open-type="contact"` 时有效,默认没有标题 ```html <button type="primary" open-type="contact" show-message-card send-message-title="获取二维码">调起客服会话</button> ``` **send-message-img** 会话内消息卡片图片,open-type="contact"时有效,省略时默认为当前页面图片 ```html <button type="primary" open-type="contact" show-message-card send-message-img="图片URL地址">调起客服会话</button> ```