Microsoft Teams · JSON Structure

Teams Graph Api Chat Message Structure

Represents a message in a channel or chat.

Type: object Properties: 8
ChatCollaborationCommunicationMicrosoft 365ProductivityVideo Conferencing

ChatMessage is a JSON Structure definition published by Microsoft Teams, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id createdDateTime lastModifiedDateTime messageType importance subject body from

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-teams/refs/heads/main/json-structure/teams-graph-api-chat-message-structure.json",
  "name": "ChatMessage",
  "description": "Represents a message in a channel or chat.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique identifier for the message." },
    "createdDateTime": { "type": "datetime", "description": "When the message was created." },
    "lastModifiedDateTime": { "type": "datetime", "description": "When the message was last modified." },
    "messageType": { "type": "string", "description": "The type of message." },
    "importance": { "type": "string", "description": "Message importance." },
    "subject": { "type": "string", "description": "Subject of the message." },
    "body": { "type": "object", "description": "Message body content." },
    "from": { "type": "object", "description": "Sender information." }
  }
}