Share via

(How) is it possible to add a global bot which can detect incoming audio or video calls in all channels?

Nico Gerbig 0 Reputation points
2024-02-19T17:49:21.67+00:00

Is it possible to add a bot to the left pane which can react to incoming calls in any channel to display additional caller information without beeing installed in all channels and chats?

The bot might post an adaptive card to the channel or chat, where the call is performed.

I'm almost sure, Teams doens't support this out of the box, but maybe it could be possible to subscribe to graph api events to get incoming calls and to write to these channels or chats.

I'ld be fine with doing this under application permissions (I assume, the one who's called is allowed to get these informations about the caller).

Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 10,366 Reputation points Microsoft External Staff Moderator
    2024-02-20T05:47:05.89+00:00

    Microsoft Teams does not support adding a bot to the left pane that reacts to incoming calls out of the box, you can indeed subscribe to Microsoft Graph API events to get incoming call notifications and then post an adaptive card to the specific channel or chat where the call is performed.

    Subscribe to Microsoft Graph API Events: Use Microsoft Graph API to subscribe to call-related events.

    Handle incoming call events in your bot.

    Process Incoming Call Events: Extract caller information from the incoming call event.

    Post Adaptive Card:
    Use the Teams SDK and Adaptive Cards to create and post an adaptive card to the channel or chat.

    Thanks, 

    Prasad Das *************************************************************************  If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.