{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.chatMessageInfo", "title": "microsoft.graph.chatMessageInfo", "allOf": [ { "$ref": "#/components/schemas/microsoft.graph.entity" }, { "title": "chatMessageInfo", "required": [ "@odata.type" ], "type": "object", "properties": { "body": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.itemBody" }, { "type": "object", "nullable": true } ], "description": "Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object doesn't return @mentions and attachments." }, "createdDateTime": { "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$", "type": "string", "description": "Date time object representing the time at which message was created.", "format": "date-time", "nullable": true }, "eventDetail": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.eventMessageDetail" }, { "type": "object", "nullable": true } ], "description": "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": { "anyOf": [ { "$ref": "#/components/schemas/microsoft.graph.chatMessageFromIdentitySet" }, { "type": "object", "nullable": true } ], "description": "Information about the sender of the message." }, "isDeleted": { "type": "boolean", "description": "If set to true, the original message has been deleted.", "nullable": true }, "messageType": { "$ref": "#/components/schemas/microsoft.graph.chatMessageType" }, "@odata.type": { "type": "string" } } } ], "x-ms-discriminator-value": "#microsoft.graph.chatMessageInfo" }