Home

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

Nilay Dhamecha
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
MS Teams Graph API @Mention a Bot
Deleted in Microsoft Teams on
1 Replies
List of all Edge URLs
HotCakeX in Discussions on
6 Replies
Teams - Chat History
David Gorman in Microsoft Teams on
9 Replies
Teams error code - 6
damnit95 in Office 365 on
4 Replies
Teams Chat and Teams Meeting screen in separate windows
hiteshv in Microsoft Teams on
41 Replies