You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.8 KiB

4 years ago
# 萝卜丝客服SDK
4 years ago
4 years ago
萝卜丝(bytedesk) flutter 客服SDK
4 years ago
4 years ago
## 部分功能
4 years ago
4 years ago
- 机器人对话
4 years ago
- 技能组客服
- 一对一客服
- 支持发送电商商品信息
- 支持发送附言消息
4 years ago
- 对接APP用户信息(昵称/头像)
4 years ago
- 获取当前客服在线状态
- 获取历史会话
- 消息提示设置
- 消息送达/已读
- 消息撤回
- 输入状态(对方正在输入)
<!-- - 提交工单 -->
<!-- - 意见反馈 -->
## 集成步骤
4 years ago
4 years ago
### 第一步
4 years ago
4 years ago
- pubspec.yaml添加bytedesk_kefu: ^最近版本号
4 years ago
<!-- - 最新版本:[![Pub](https://img.shields.io/pub/v/bytedesk_kefu.svg)](https://pub.dev/packages/bytedesk_kefu) -->
- [![pub package](https://img.shields.io/pub/v/bytedesk_kefu.svg)](https://pub.dev/packages/bytedesk_kefu) | [![pub points](https://badges.bar/bytedesk_kefu/pub%20points)](https://pub.dev/packages/bytedesk_kefu/score) | [![popularity](https://badges.bar/bytedesk_kefu/popularity)](https://pub.dev/packages/bytedesk_kefu/score) | [![likes](https://badges.bar/bytedesk_kefu/likes)](https://pub.dev/packages/bytedesk_kefu/score)
4 years ago
- [注册账号](https://www.bytedesk.com/antv/user/login)
- 获取appkey登录后台->客服管理->渠道管理->添加应用->appkey
- 获取subDomain也即企业号登录后台->客服管理->客服账号->企业号
- 获取技能组workGroupWid
4 years ago
4 years ago
### 第二步:匿名登录
4 years ago
4 years ago
- BytedeskKefu.anonymousLogin(_androidKey, _iOSKey, _subDomain);
4 years ago
### 第三步:联系客服
- BytedeskKefu.startWorkGroupChat(context, workGroupWid, "技能组客服");
### 集成完毕
4 years ago
| image1 | image2 |
| :----------: | :----------: |
| <img src="./home.jpeg" width="250"> | <img src="./robot.jpeg" width="250"> |
| <img src="./robot2.jpeg" width="250"> | <img src="./chat.jpeg" width="250"> |
|<img src="./status.jpeg" width="250"> |<img src="./userinfo.jpeg" width="250"> |
4 years ago
### 其他
- 技术支持QQ 3群: 825257535