{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-teams-type-message-request",
  "title": "Teams Message Request",
  "section": "Library asset reference",
  "description": "Teams Message Request Graph message payload. Plain text/HTML body, optional mentions and card attachments; provider validates tenant policy and content limits. Required fields must be present; optional fields remain absent. Null is accepted",
  "kind": "type",
  "url": "/wiki/reference-teams-type-message-request/",
  "markdown": "/wiki/reference-teams-type-message-request/index.md",
  "json": "/wiki/reference-teams-type-message-request/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "teams",
  "contract": {
    "key": "teams.type.message.request",
    "slug": "teams-type-message-request",
    "name": "Teams Message Request",
    "kind": "type",
    "family": "teams",
    "packId": null,
    "category": "Microsoft Teams",
    "description": "",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "Teams Message Request\n\nGraph message payload. Plain text/HTML body, optional mentions and card attachments; provider validates tenant policy and content limits.\n\n Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas that permit them. Use the matching Encode/Decode assets.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://learn.microsoft.com/en-us/graph/api/resources/chatmessage?view=graph-rest-1.0). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\nNo data sockets.\n\nOutputs:\nNo data sockets.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.\n\nAuthoritative JSON Schema:\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"body\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"contentType\": {\n          \"type\": \"string\",\n          \"enum\": [\n            \"text\",\n            \"html\"\n          ]\n        },\n        \"content\": {\n          \"type\": \"string\",\n          \"minLength\": 1,\n          \"maxLength\": 28000\n        }\n      },\n      \"required\": [\n        \"contentType\",\n        \"content\"\n      ],\n      \"additionalProperties\": false\n    },\n    \"subject\": {\n      \"anyOf\": [\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"null\"\n        }\n      ]\n    },\n    \"importance\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"normal\",\n        \"high\",\n        \"urgent\"\n      ]\n    },\n    \"attachments\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"contentType\": {\n            \"type\": \"string\",\n            \"minLength\": 1\n          },\n          \"contentUrl\": {\n            \"anyOf\": [\n              {\n                \"type\": \"string\"\n              },\n              {\n                \"type\": \"null\"\n              }\n            ]\n          },\n          \"content\": {\n            \"type\": \"string\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [\n          \"id\",\n          \"contentType\"\n        ],\n        \"additionalProperties\": {\n          \"$ref\": \"#/definitions/ONFJsonValue\"\n        }\n      },\n      \"maxItems\": 100\n    },\n    \"mentions\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"integer\",\n            \"minimum\": 0\n          },\n          \"mentionText\": {\n            \"type\": \"string\"\n          },\n          \"mentioned\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"user\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"id\": {\n                    \"type\": \"string\"\n                  },\n                  \"displayName\": {\n                    \"type\": \"string\"\n                  },\n                  \"userIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"applicationIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"tenantId\": {\n                    \"type\": \"string\"\n                  }\n                },\n                \"required\": [],\n                \"additionalProperties\": {\n                  \"$ref\": \"#/definitions/ONFJsonValue\"\n                }\n              },\n              \"application\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"id\": {\n                    \"type\": \"string\"\n                  },\n                  \"displayName\": {\n                    \"type\": \"string\"\n                  },\n                  \"userIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"applicationIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"tenantId\": {\n                    \"type\": \"string\"\n                  }\n                },\n                \"required\": [],\n                \"additionalProperties\": {\n                  \"$ref\": \"#/definitions/ONFJsonValue\"\n                }\n              },\n              \"device\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"id\": {\n                    \"type\": \"string\"\n                  },\n                  \"displayName\": {\n                    \"type\": \"string\"\n                  },\n                  \"userIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"applicationIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"tenantId\": {\n                    \"type\": \"string\"\n                  }\n                },\n                \"required\": [],\n                \"additionalProperties\": {\n                  \"$ref\": \"#/definitions/ONFJsonValue\"\n                }\n              },\n              \"conversation\": {\n                \"type\": \"object\",\n                \"properties\": {\n                  \"id\": {\n                    \"type\": \"string\"\n                  },\n                  \"displayName\": {\n                    \"type\": \"string\"\n                  },\n                  \"userIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"applicationIdentityType\": {\n                    \"type\": \"string\"\n                  },\n                  \"tenantId\": {\n                    \"type\": \"string\"\n                  }\n                },\n                \"required\": [],\n                \"additionalProperties\": {\n                  \"$ref\": \"#/definitions/ONFJsonValue\"\n                }\n              }\n            },\n            \"required\": [],\n            \"additionalProperties\": {\n              \"$ref\": \"#/definitions/ONFJsonValue\"\n            }\n          }\n        },\n        \"required\": [\n          \"id\",\n          \"mentionText\",\n          \"mentioned\"\n        ],\n        \"additionalProperties\": {\n          \"$ref\": \"#/definitions/ONFJsonValue\"\n        }\n      },\n      \"maxItems\": 100\n    }\n  },\n  \"required\": [\n    \"body\"\n  ],\n  \"additionalProperties\": false,\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"description\": \"Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.\",\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```",
    "schema": {
      "type": "object",
      "properties": {
        "body": {
          "type": "object",
          "properties": {
            "contentType": {
              "type": "string",
              "enum": [
                "text",
                "html"
              ]
            },
            "content": {
              "type": "string",
              "minLength": 1,
              "maxLength": 28000
            }
          },
          "required": [
            "contentType",
            "content"
          ],
          "additionalProperties": false
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "importance": {
          "type": "string",
          "enum": [
            "normal",
            "high",
            "urgent"
          ]
        },
        "attachments": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "contentType": {
                "type": "string",
                "minLength": 1
              },
              "contentUrl": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "contentType"
            ],
            "additionalProperties": {
              "$ref": "#/definitions/ONFJsonValue"
            }
          },
          "maxItems": 100
        },
        "mentions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "minimum": 0
              },
              "mentionText": {
                "type": "string"
              },
              "mentioned": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "userIdentityType": {
                        "type": "string"
                      },
                      "applicationIdentityType": {
                        "type": "string"
                      },
                      "tenantId": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "additionalProperties": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  },
                  "application": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "userIdentityType": {
                        "type": "string"
                      },
                      "applicationIdentityType": {
                        "type": "string"
                      },
                      "tenantId": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "additionalProperties": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  },
                  "device": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "userIdentityType": {
                        "type": "string"
                      },
                      "applicationIdentityType": {
                        "type": "string"
                      },
                      "tenantId": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "additionalProperties": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  },
                  "conversation": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": "string"
                      },
                      "userIdentityType": {
                        "type": "string"
                      },
                      "applicationIdentityType": {
                        "type": "string"
                      },
                      "tenantId": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "additionalProperties": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  }
                },
                "required": [],
                "additionalProperties": {
                  "$ref": "#/definitions/ONFJsonValue"
                }
              }
            },
            "required": [
              "id",
              "mentionText",
              "mentioned"
            ],
            "additionalProperties": {
              "$ref": "#/definitions/ONFJsonValue"
            }
          },
          "maxItems": 100
        }
      },
      "required": [
        "body"
      ],
      "additionalProperties": false,
      "definitions": {
        "ONFJsonValue": {
          "description": "Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.",
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "runtime": "javascript",
    "tags": [
      "library-expansion",
      "teams",
      "type",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
