Conversation IDs in the Bot Framework are unique within the scope of a specific channel and bot interaction. They remain valid as long as the conversation is active and not deleted. Regarding uniqueness, while they are unique per channel and bot, they are not necessarily globally unique across all organizations or instances. You can send messages, including adaptive cards, to a conversation ID in Teams within the limits set by the Bot Framework and Microsoft Teams.
Lifespan of conversation id created between bot and user
Hasit Parmar
0
Reputation points
We are using botframework-connector SDK for python for implementating bot, in that we would like to retrive user's conversation ID whenever user install teams bot in personal scope or groupchat. To get conversation id we were listening on_installation_update_add event of botbuilder.core.teams.TeamsActivityHandler and using turn_context.activity.conversation.id to that get conversation id.
- Is there any expiry time for this conversation ID?
- Can i believe that conversation id would be unique globally (Across multiple orgs)? which refers unique connection between user and bot.
- Can i flooded a message (adaptive card) on the same conversation id within teams bot limits.