Question on Graph for Teams

New Contributor

Hi Team,
In the documentation we see Conversations and Threads. Both return the same results: Teams meetings. How can we use Graph to collect Teams chats?

3 Replies

If i understand correcltly what you tried to do : at this time what I found is to add the count of "message" and "replies to a "message in channel" to get the full "Teams chats".

Maybe a MS internal could correct me if i'm wrong ;)

 

for record those 2 calls are only available with the beta api :

 

https://docs.microsoft.com/en-us/graph/api/channel-get-message?view=graph-rest-beta

https://docs.microsoft.com/en-us/graph/api/channel-get-messagereply?view=graph-rest-beta

You are right. We currently support only reading channel messages and replies. We are working on extending out API's to support reading private chat (1:1 or group chat) messages in the coming quarter. But we don't have an exact timeline on when they will be available yet.