简体   繁体   English

ms team bot的conversation.id是独一无二的吗?

[英]is conversation.id for ms teams bot unique?

In ms teams bot.在 ms 团队机器人中。 for group chat and for personal chat, I received following conversation object.对于群聊和个人聊天,我收到了以下对话对象。

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'
},
  1. Is the id for both the conversation unique ?对话的id是唯一的吗? Do the id changes in case of personal or group chat after some days ?几天后在个人或群聊的情况下, ID 会发生变化吗?
  2. Can i use it as unique identifier ?我可以将它用作唯一标识符吗?

->Do the id changes in case of personal or group chat after some days ? -> 几天后,在个人或群聊的情况下,id 会发生变化吗?

No, it doesn't change after few days.不,几天后它不会改变。 The only time it changes is when you re-add the bot to channel.它唯一改变的时间是您将机器人重新添加到频道时。

->Can I use it as unique identifier ? ->我可以将它用作唯一标识符吗?

->Is the id for both the conversation unique ? -> 对话的 id 是唯一的吗?
Answer for above two questions is detailed out here以上两个问题的答案在此处详细说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM