Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/channels / / InboundChannelMessage

Interface: InboundChannelMessage

Defined in: packages/channels/src/spi.ts:81

A normalized inbound message. Produced by the adapter, consumed by the gateway pipeline (policy -> sanitization -> routing -> handler).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
attachments?readonlyreadonly ChannelAttachment[]-packages/channels/src/spi.ts:91
identityreadonlyChannelIdentity-packages/channels/src/spi.ts:82
messageIdreadonlystringChannel-native message id (dedup + audit).packages/channels/src/spi.ts:84
raw?readonlyunknownThe raw vendor payload, kept for audit only. The gateway never feeds it to a model and never routes on it.packages/channels/src/spi.ts:104
receivedAtreadonlystringISO-8601 receive timestamp (adapter clock).packages/channels/src/spi.ts:99
replyTo?readonly{ excerpt?: string; messageId: string; }Reply context, when the peer replied to an earlier message.packages/channels/src/spi.ts:93
replyTo.excerpt?readonlystringShort excerpt of the quoted message, when the vendor supplies one.packages/channels/src/spi.ts:96
replyTo.messageIdreadonlystring-packages/channels/src/spi.ts:94
textreadonlystringNormalized plain text. Empty string for attachment-only messages. UNTRUSTED by definition - the gateway sanitizes it and labels the run's taint ledger before any agent sees it.packages/channels/src/spi.ts:90