# Teams Message

Teams Message Graph chat/channel message. Unknown provider fields are preserved in remainder. Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are ac

Canonical URL: https://opennodeflow.dev/wiki/reference-teams-type-message/
JSON reference: https://opennodeflow.dev/wiki/reference-teams-type-message/index.json
Source snapshot: 2026-10-23

Teams Message

Graph chat/channel message. Unknown provider fields are preserved in remainder.

 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.

Authored 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.

## Audited socket contract (21 October 2026)

Inputs:
No data sockets.

Outputs:
No data sockets.

Configuration:
No asset-specific configuration.

Known 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.

Authoritative JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "body": {
      "type": "object",
      "properties": {
        "contentType": {
          "type": "string",
          "enum": [
            "text",
            "html"
          ]
        },
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 28000
        }
      },
      "required": [
        "contentType",
        "content"
      ],
      "additionalProperties": false
    },
    "createdDateTime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "lastModifiedDateTime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "deletedDateTime": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "replyToId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "webUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "subject": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "from": {
      "anyOf": [
        {
          "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"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "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": [
    "id"
  ],
  "additionalProperties": {
    "$ref": "#/definitions/ONFJsonValue"
  },
  "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"
          }
        }
      ]
    }
  }
}
```

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `teams.type.message` |
| Kind | type |
| Family | teams |
| Pack | See library discovery |

[Integration guide](/wiki/integration-teams/) · [Browse the catalog](/wiki/integration-catalog/)



## Configuration schema


```json
{}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../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`

This page describes maintained source, not a live inventory or an authorization to perform actions.
