【发布时间】:2021-03-02 21:15:08
【问题描述】:
在 ms 团队机器人中。对于群聊和个人聊天,我收到了以下对话对象。
conversation: {
isGroup: true,
conversationType: 'groupChat',
tenantId: '3fef5931-0c12-4eb9-b22f-xxxxxxx',
id: '19:abad7298-34e2-4437-ad7d-xxxxxxxxxxxx-224f-4e50-xxxxxxde65@unq.gbl.spaces'
},
conversation: {
conversationType: 'personal',
tenantId: '3fef59xxxxxxxxxxxxxxxd03d',
id: 'a:1fIazkAU3MCwYcbsr1nZcpg_VTMw8OuWxxxxxxxxxxxxKKVpzEgbeiqrnT3B8eM856iyI6G61qoeXU0UXt7XkGpbmi0As9-mV1h2Ywz-Coi'
},
- 两个对话的 id 是否唯一?几天后进行个人或群聊时,id会发生变化吗?
- 我可以用它作为唯一标识符吗?
【问题讨论】:
-
对话 ID 是唯一的。时间流逝不会改变。
标签: botframework bots microsoft-teams