Hi Prashanth,
To record all the conversation messages of your bot you can save user and conversation data to an underlying storage like blob or cosmos DB. This sample provides these scenarios and this documentation explains the scenarios.
Different storage options can be Memory Storage, Cosmos DB, Blob Storage, Azure Table storage and Azure Blob Transcript Store, which are documented here.
-Rohit