小程序客服会话
2024-09-14
14
1. 前言
调起客服会话相关属性参考官网文档:https://developers.weixin.qq.com/miniprogram/dev/component/button.html
2. 使用示例
show-message-card
是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示”可能要发送的小程序”提示,用户点击后可以快速发送小程序消息,open-type=”contact”时有效
示例
<button type="primary" open-type="contact" show-message-card>调起客服会话</button>
send-message-title
会话内消息卡片标题,open-type="contact"
时有效,默认没有标题
<button type="primary" open-type="contact" show-message-card send-message-title="获取二维码">调起客服会话</button>
send-message-img
会话内消息卡片图片,open-type=”contact”时有效,省略时默认为当前页面图片
<button type="primary" open-type="contact" show-message-card send-message-img="图片URL地址">调起客服会话</button>
更新于:4天前赞一波!
相关文章
- uniapp 微信小程序 控制台警告和错误处理
- 微信小程序内容安全检测(敏感词、敏感图)
- 微信小程序订阅消息
- 获取用户授权的手机号【微信小程序】
- EasyWechat 4.x 微信小程序订阅消息
- 小程序测试号、公众号测试号
- EasyWechat 4.x 微信小程序企业付款到零钱
- EasyWechat 3.x 小程序客服消息自动回复
- EasyWeChat 生成小程序码报错 cURL错误 60
- 微信小程序 wx.requestPayment({}) 唤起微信支付
- 人人商城 V3.18.1 小程序端获取商品列表接口
- 在64位的Windows系统下运行32位的C#程序如何控制重定向
- 火爆全网的ChatGPT智能AI机器人微信小程序源码 (附带部署教程)
- C#程序中如何获取当前操作系统的名称
- C#中通过Process运行程序如何获取进程的标准输出
- 用于查找子列表总和的 Python 程序
- 以蛇形模式打印矩阵的Python程序
- 我的Python程序太慢了。如何加快速度?
- 用于从字符串中删除最后一个指定字符的 Python 程序
- 用于从数组中删除重复元素的 Python 程序
文章评论
全部评论