How can I get a FAQ Plus Bot chat transcript?

Adam Ameen (Tech Unicorn) 21 Reputation points
2023-01-09T15:00:25.29+00:00

I have implemented a Microsoft Teams FAQ Plus bot using this documentation: https://github.com/OfficeDev/microsoft-teams-apps-faqplus/wiki/Deployment-Guide-manual

My client wants end users to get the chat transcript through email once the chat with the expert is completed. How can I do this?

The bot is installed in the end users' teams application whereas the expert bot is installed in the experts' teams channel.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
746 questions
{count} votes

Accepted answer
  1. Nivedipa-MSFT 2,806 Reputation points Microsoft Vendor
    2023-01-11T10:36:28.8133333+00:00

    Using below graph API you can get the chat between user and teamsApp.
    GET /users/{user-id | user-principal-name}/teamwork/installedApps/{app-installation-id}/chat
    Ref Doc: https://learn.microsoft.com/en-us/graph/api/userscopeteamsappinstallation-get-chat?view=graph-rest-1.0&tabs=http

    For sending mail you can use the sendmail API.
    POST /me/sendMail

    POST /users/{id | userPrincipalName}/sendMail
    Ref Doc: https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http

    Thanks,

    Nivedipa


    If the response is helpful, please click "Most helpful". You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful