Microsoft Teams Call API - microsoft-teams

We had changed to Microsoft Teams Calls in my Organization. No we want to retrive informations (Phone Number) from every incoming and outgoing Calls at start and endtime in our own Application. Is there any API etc. that makes that possible?
Thanks in advance
Swess72

You can use Microsoft Graph API for PSTN calls.

Related

Calling an external API from MS Teams chat

Can anyone offer guidance on how to call an external API from within MS Teams chat/posts initiated by an #mention or #hastag? The service I want to build would use the mention/hastag to call an API and return various types of meta data that would then be added to the chat, post, etc. Wondering if Flow or Yo Teams is the best way to go.
The best approach for this would be to create a bot, which gets a name that can be '#' mentioned (e.g. if you bot is called MyBot, you could mention #MyBot in a Teams channel, and it will get notified). Once it receives the notification, the bot can do anything you need it to do.
If you have development skills available (yourself or someone on your team), have a look at the Teams Bot development documentation to get started. If not, Power Virtual Agents could suit your needs (it's like a "drag and drop" bot creator.

Bot-framework bot creating groupchat

I have a bot-framework bot integrated to MS Teams, and I need it to create groupChats of members in it's team, with the bot in the chat as well.
Is there any way to achieve that?
I could not find any mention of creating or in any other way interacting with group chats using bots.
You could use Azure Logic Apps or Power Automate flow. It has Teams actions that I think could help you ("Create a chat"). You could trigger the flow with an HTTP request that would contain necessary data!

How to get Microsoft Graph access token using email id in the skype for business bot to add an event to Calendar

In Skype for Business Bot , User is pre-authenticated, need to get Microsoft graph access token , in order to perform Microsoft Graph operations (such as adding events to calendar) in programmatic way..
Please suggest how Microsoft Graph Apis can be integrated with Azure Bot for Skype for business channel.
We want Skype for Business bot to book the meeting just like described here
But instead of Teams need to use Skype for Business. but basically this code line will ask user to explicitly in this code sample
"await context.Forward(new AzureAuthDialog("
There is another sample that need Adminconsent to update the calendar of specific user
Swati
You cannot reuse anything from the pre-authentication. Like any other channel, you have to go through a specific authentication phase.
You have a great sample on the official repository to do this, here: https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/24.bot-authentication-msgraph

Accessing user presence with REST API for Microsoft Teams

I'd like to query both my own presence and other users' presences in Teams. Ideally I would like to receive notifications when they change so I can change my internal state.
The graph API doesn't appear to have this functionality today.
Unfortunately this is not yet available. We do have plans to add this to Microsoft Graph but we do not have an ETA.
The API for the presence is now in beta: Graph Api beta

Skype BotFramework answer calls automatically

I am using Node.js to create Skype bots. I want my bot to answer calls automatically from selected contacts and create a group voice chat consisting of bot, caller, and me. I couldn't understand the documentation much. Is there a way to do it? If yes, can you give me a brief example?
Thank you.
Bots are not supported in group calls right now because of privacy reasons.
Group calling for media bots has been disabled because the Skype clients do not have currently have the appropriate privacy controls in place to inform the participants that a bot can hear and/or see them.
There is no timeframe available regarding when calling/real-time media bots will be supported in group calls. For now, calling and real-time media bots are allowed only in 1-to-1 Skype calls.

Resources