Is there a way how to get count of interactions from Teams channel?

Julius Pataky 21 Reputation points
2022-04-25T16:17:00.703+00:00

Hi, we would like to create a channel in Teams, and from this specific channel, we would like to get a number of total or per comment interactions. These numbers we would like to forward to our Database outside of the Microsoft ecosystem - so there will be our API endpoints which we would like to trigger.

Thanks

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,482 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,417 questions
{count} votes

Accepted answer
  1. Prasad-MSFT 7,406 Reputation points Microsoft Vendor
    2022-04-26T04:36:34.423+00:00

    To retrieve the list of messages (without the replies) in a channel of a team using below API:
    https://learn.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-1.0&tabs=http
    In "@odata.count" property we can get count of those messages
    To get the replies for a message, we need to call the list message replies or the get message reply API.

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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