Home

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

Highlighted
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
Chat notifications on Android
MoezT in Microsoft Teams on
0 Replies
non office licence
towle92 in Microsoft Teams on
1 Replies
Delete Received Messages in Private Chat
connerwhiteside in Microsoft Teams on
2 Replies
Anyone else had Teams vanish from the apps list?
PhilC42 in Surface Hub on
1 Replies