Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library asset reference

Encode Teams Message

encode Teams Message 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

23 Oct 2026 · 3 min read
Markdown ↗JSON ↗

encode Teams Message

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: id, body, createdDateTime, lastModifiedDateTime, deletedDateTime, replyToId, webUrl, subject, from, attachments, mentions, remainder. Outputs: value.

Authored 2026-10-20. Provider reference: official documentation. 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:

  • id: string; required.
  • body: @teams.type.message.request.body; optional (absent stays absent).
  • createdDateTime: @teams.type.message.request.subject; optional (absent stays absent).
  • lastModifiedDateTime: @teams.type.message.request.subject; optional (absent stays absent).
  • deletedDateTime: @teams.type.message.request.subject; optional (absent stays absent).
  • replyToId: @teams.type.message.request.subject; optional (absent stays absent).
  • webUrl: @teams.type.message.request.subject; optional (absent stays absent).
  • subject: @teams.type.message.request.subject; optional (absent stays absent).
  • from: @teams.type.message.from; optional (absent stays absent).
  • attachments: @teams.type.message.request.attachments; optional (absent stays absent).
  • mentions: @teams.type.message.mentions; optional (absent stays absent).
  • remainder: def_f9962f86c7f4; optional (absent stays absent).

Outputs:

  • value: @teams.type.message; required.

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#

FieldValue
Source keyteams.codec.message.encode
Kindnode
Familyteams
PackSee library discovery

Integration guide · Browse the catalog

Inputs#

Socket IDLabelTypeRequiredMeaning
execExecutecontrolNo
ididstringYes
bodybody@teams.type.message.request.body v1No
createdDateTimecreatedDateTime@teams.type.message.request.subject v1No
lastModifiedDateTimelastModifiedDateTime@teams.type.message.request.subject v1No
deletedDateTimedeletedDateTime@teams.type.message.request.subject v1No
replyToIdreplyToId@teams.type.message.request.subject v1No
webUrlwebUrl@teams.type.message.request.subject v1No
subjectsubject@teams.type.message.request.subject v1No
fromfrom@teams.type.message.from v1No
attachmentsattachments@teams.type.message.request.attachments v1No
mentionsmentions@teams.type.message.mentions v1No
remainderremainderdef_f9962f86c7f4 v1No

Outputs#

Socket IDLabelTypeRequiredMeaning
nextNextcontrolNo
valuevalue@teams.type.message v1Yes
errorOn errorcontrolNo

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, connections and integration setup.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • ../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
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗