# Decode Teams Message Request

decode Teams Message Request Pure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; empty li

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

decode Teams Message Request

Pure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; empty lists omit item. Nullable codecs preserve null explicitly. Opaque maps/JSON use JSON text parsing/stringification. Runtime validates the named type after encoding and before decoding.

Inputs: value. Outputs: body, subject, importance, attachments, mentions.

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:
- `value`: `@teams.type.message.request`; required.

Outputs:
- `body`: `@teams.type.message.request.body`; required.
- `subject`: `@teams.type.message.request.subject`; optional (absent stays absent).
- `importance`: `string`; optional (absent stays absent).
- `attachments`: `@teams.type.message.request.attachments`; optional (absent stays absent).
- `mentions`: `@teams.type.message.mentions`; optional (absent stays absent).

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.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `teams.codec.message.request.decode` |
| Kind | node |
| Family | teams |
| Pack | See library discovery |

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

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Execute | control | No |  |
| `value` | value | @teams.type.message.request v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `body` | body | @teams.type.message.request.body v1 | Yes |  |
| `subject` | subject | @teams.type.message.request.subject v1 | No |  |
| `importance` | importance | string | No |  |
| `attachments` | attachments | @teams.type.message.request.attachments v1 | No |  |
| `mentions` | mentions | @teams.type.message.mentions v1 | No |  |
| `error` | On error | control | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
```





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