Question on Graph for Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-300191%22%20slang%3D%22en-US%22%3EQuestion%20on%20Graph%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-300191%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3CBR%20%2F%3EIn%20the%20documentation%20we%20see%20Conversations%20and%20Threads.%20Both%20return%20the%20same%20results%3A%20Teams%20meetings.%20How%20can%20we%20use%20Graph%20to%20collect%20Teams%20chats%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-300191%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChat%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304433%22%20slang%3D%22en-US%22%3ERe%3A%20Question%20on%20Graph%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304433%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20are%20right.%20We%20currently%20support%20only%20reading%20channel%20messages%20and%20replies.%20We%20are%20working%20on%20extending%20out%20API's%20to%20support%20reading%20private%20chat%20(1%3A1%20or%20group%20chat)%20messages%20in%20the%20coming%20quarter.%20But%20we%20don't%20have%20an%20exact%20timeline%20on%20when%20they%20will%20be%20available%20yet.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-301122%22%20slang%3D%22en-US%22%3ERE%3A%20Question%20on%20Graph%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-301122%22%20slang%3D%22en-US%22%3EMicrosoft%20are%20currently%20working%20on%20Graph%20to%20do%20this%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F16972258-developer-api-to-read-create-teams-and-channels-in%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F16972258-developer-api-to-read-create-teams-and-channels-in%3C%2FA%3E%20Best%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-300613%22%20slang%3D%22en-US%22%3ERe%3A%20Question%20on%20Graph%20for%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-300613%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20i%20understand%20correcltly%20what%20you%20tried%20to%20do%20%3A%20at%20this%20time%20what%20I%20found%20is%20to%20add%20the%20count%20of%20%22message%22%20and%20%22replies%20to%20a%20%22message%20in%20channel%22%20to%20get%20the%20full%20%22Teams%20chats%22.%3C%2FP%3E%3CP%3EMaybe%20a%20MS%20internal%20could%20correct%20me%20if%20i'm%20wrong%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efor%20record%20those%202%20calls%20are%20only%20available%20with%20the%20beta%20api%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-message%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-message%3Fview%3Dgraph-rest-beta%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-messagereply%3Fview%3Dgraph-rest-beta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-get-messagereply%3Fview%3Dgraph-rest-beta%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
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.