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
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 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
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies