BotFramework学习-02
2024-09-17 06:38:31
1、请求的Message格式
{
"type": "Message",
"id": "fd89606f8014453ca5587e2961b7a72c",
"conversationId": "8a684db8",
"created": "2016-04-25T05:00:25.5292748Z",
"language": "en",
"text": "谔谔",
"attachments": [],
"from": {
"name": "User1",
"channelId": "emulator",
"address": "User1",
"id": "2c1c7fa3",
"isBot": false
},
"to": {
"name": "YourAppId",
"channelId": "emulator",
"address": "YourAppId",
"id": "YourAppId",
"isBot": true
},
"participants": [
{
"name": "User1",
"channelId": "emulator",
"address": "User1",
"id": "2c1c7fa3",
"isBot": false
},
{
"name": "YourAppId",
"channelId": "emulator",
"address": "YourAppId",
"id": "YourAppId",
"isBot": true
}
],
"totalParticipants": ,
"mentions": [],
"channelMessageId": "f8f664370cef47ce821bfce9e90a13a5",
"channelConversationId": "Conv1",
"hashtags": []
}
2、ReplyMessage格式:
{
"conversationId": "8a684db8",
"language": "en",
"text": "You sent 2 characters",
"from": {
"name": "YourAppId",
"channelId": "emulator",
"address": "YourAppId",
"isBot": true
},
"to": {
"name": "User1",
"channelId": "emulator",
"address": "User1",
"isBot": false
},
"replyToMessageId": "fd89606f8014453ca5587e2961b7a72c",
"participants": [
{
"name": "User1",
"channelId": "emulator",
"address": "User1"
},
{
"name": "YourAppId",
"channelId": "emulator",
"address": "YourAppId"
}
],
"totalParticipants": ,
"channelMessageId": "f8f664370cef47ce821bfce9e90a13a5",
"channelConversationId": "Conv1"
}
最新文章
- SubMenu的setHeaderView使用时发现的问题
- python学习笔记 ——python写的猜数字游戏 002
- 72 [面试题]如果不使用if-else和比较运算符,你知道如何求解2个数字中的较大一个吗?
- 修改Tomcat编码方式的两种方法
- 模仿ViewPager控件
- 使用Cookie保存商品浏览记录
- Eclipse Kepler中配置JadClipse
- java Comparable和Comaprator的对比
- MVC 模型js远程校验的使用方法
- aes 解密出现 java.lang.NumberFormatException: Invalid int: ";ch";
- 022 UFT虚拟对象
- LTP 分词算法实践
- The Building Blocks-Components of EA part 1- Information and Strategy
- 小程序使用之WXS
- 初次使用beego框架
- Python pyYAML模块
- Range:HTML5中的新型Input类型
- 左移和右移运算符<;<; >;>;
- PL/SQL Developer安装配置
- Leetcode 1002. 查找常用字符