Home

MS Teams Graph API : Info needed about 'details of the sender of a chatMessage'

Nilay Dhamecha
Occasional Contributor

The /messages API returns the details of the sender of the message. The sender can be an application, device, conversation or a user (see the JSON below).

"from": {
"application": null,
"device": null,
"conversation": null,
"user": {
"id": "user-Ii",
"displayName": "John Doe",
"userIdentityType": "aadUser"
}
}

I wanted to know what each property meant.

For example it is pretty clear that 'user' property means the member of a team who is the initiator of that conversation. 

Similarly what does application, device and conversation mean? Can someone please give examples for the same?

 

Microsoft has not explained this clearly in its documentation.

Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies