Good morning colleagues!
We built a bot with the goal of guiding a user through a process. So the conversation is usually requiring some interactions.
We noticed that if a user is starting a conversation with the bot inside the Teams, everyone can interact with the bot in the same session. We don't want this. How to prevent?
Thanks in advance
It seems is a behavior of the PVA for teams that can manage private and teams conversations. Here you can find more info: Send and receive messages with a bot - Teams | Microsoft Learn
In particular it is mentioned to:
Combining channel and private interactions with your bot
When interacting in a channel, your bot should be smart about taking certain conversations offline with a user. For instance, suppose a user is trying to coordinate a complex task, such as scheduling with a set of team members. Rather than have the entire sequence of interactions visible to the channel, consider sending a personal chat message to the user. Your bot should be able to easily transition the user between personal and channel conversations without losing state.
But how the conversion can be took offline in a personal chat?