Forum Discussion
altjx
Aug 17, 2023Brass Contributor
Is it not possible to retrieve chat history from a Teams Bot?
I am reviewing documentation for interacting with users, and for some reason I haven't run across the ability to pull chat history. So in other words, if a user sends me a message, there doesn't appe...
Sayali-MSFT
Microsoft
Aug 18, 2023altjx -For a bot created using bot framework you need to enable storage of the conversations to a database like cosmos DB or blob storage to get the chat conversation history. The official documentation details steps to create this configuration for a bot. This is basically creating a app settings file with the details of your storage and referencing then in the bot to store the conversation data.