chatMessageInfo resource type
Namespace: microsoft.graph
Represents a preview of a chatMessage resource. This object can only be fetched as part of a list of chats.
Methods
None.
Properties
Property | Type | Description |
---|---|---|
body | itemBody | Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments. |
createdDateTime | DateTimeOffset | Date time object representing the time at which message was created. |
eventDetail | eventMessageDetail | Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property is set to systemEventMessage . |
from | chatMessageFromIdentitySet | Information about the sender of the message. |
id | String | ID of the chatMessage. |
isDeleted | Boolean | If set to true , the original message has been deleted. |
messageType | chatMessageType | The type of chat message. The possible values are: message , unknownFutureValue , systemEventMessage . |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.chatMessageInfo",
"body": {
"@odata.type": "microsoft.graph.itemBody"
},
"createdDateTime": "String (timestamp)",
"eventDetail": {
"@odata.type": "microsoft.graph.eventMessageDetail"
},
"from": {
"@odata.type": "microsoft.graph.chatMessageFromIdentitySet"
},
"id": "String (identifier)",
"isDeleted": "Boolean",
"messageType": "String"
}