Hello @Ottmann, Thomas - We do not have a way to automatically add the bot in 1:1 call but you can do like below:
You can Install a teamsApp to the specified chat.
If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApp will get installed to the meeting.
Automatic joining of a Teams-Bot to an ongoing Teams meeting
I am facing the challenge of having a C# Teams bot automatically join an ongoing Teams meeting. My goal is to retrieve call information about the participants of the meeting in order to be able to process this data further. It is important to note that I do not want to add the bot manually.
After reviewing the bot samples, I have not yet been able to find a solution for my needs. Is there any sample code in the existing bot samples that is specifically suitable for this use case? If so, I would be very grateful for a hint or link to it.
I am currently using the method "OnTeamsMembersAddedAsync" to retrieve information about the participants. I have successfully tested this implementation and it works as expected. Note: This works fine when i add the bot manually with Teams Toolkit.
I want my bot to run as a background service in Azure that automatically joins a 1:1 call as soon as an unscheduled call takes place. In this way, I want to ensure that my program can reliably read out the required information.
I would be very grateful for your help and any tips.
Many thanks in advance.
Best regards
Thomas
-
ChetanSharmamsft 1,026 Reputation points Microsoft Vendor
2024-02-21T11:12:15.59+00:00