Microsoft Graph · Schema

microsoft.graph.chat

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphchat-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.chat",
  "title": "microsoft.graph.chat",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "chat",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "chatType": {
          "$ref": "#/components/schemas/microsoft.graph.chatType"
        },
        "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 and time at which the chat was created. Read-only.",
          "format": "date-time",
          "nullable": true
        },
        "isHiddenForAllMembers": {
          "type": "boolean",
          "description": "Indicates whether the chat is hidden for all its members. Read-only.",
          "nullable": true
        },
        "lastUpdatedDateTime": {
          "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 and time at which the chat was renamed or the list of members was last changed. Read-only.",
          "format": "date-time",
          "nullable": true
        },
        "onlineMeetingInfo": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.teamworkOnlineMeetingInfo"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only."
        },
        "tenantId": {
          "type": "string",
          "description": "The identifier of the tenant in which the chat was created. Read-only.",
          "nullable": true
        },
        "topic": {
          "type": "string",
          "description": "(Optional) Subject or topic for the chat. Only available for group chats.",
          "nullable": true
        },
        "viewpoint": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.chatViewpoint"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Represents caller-specific information about the chat, such as the last message read date and time. This property is populated only when the request is made in a delegated context."
        },
        "webUrl": {
          "type": "string",
          "description": "The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only.",
          "nullable": true
        },
        "installedApps": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.teamsAppInstallation"
          },
          "description": "A collection of all the apps in the chat. Nullable.",
          "x-ms-navigationProperty": true
        },
        "lastMessagePreview": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.chatMessageInfo"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.",
          "x-ms-navigationProperty": true
        },
        "members": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.conversationMember"
          },
          "description": "A collection of all the members in the chat. Nullable.",
          "x-ms-navigationProperty": true
        },
        "messages": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.chatMessage"
          },
          "description": "A collection of all the messages in the chat. Nullable.",
          "x-ms-navigationProperty": true
        },
        "permissionGrants": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.resourceSpecificPermissionGrant"
          },
          "description": "A collection of permissions granted to apps for the chat.",
          "x-ms-navigationProperty": true
        },
        "pinnedMessages": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.pinnedChatMessageInfo"
          },
          "description": "A collection of all the pinned messages in the chat. Nullable.",
          "x-ms-navigationProperty": true
        },
        "tabs": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.teamsTab"
          },
          "description": "A collection of all the tabs in the chat. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.chat"
}