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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
attachments? | readonly | readonly ChannelAttachment[] | - | packages/channels/src/spi.ts:91 |
identity | readonly | ChannelIdentity | - | packages/channels/src/spi.ts:82 |
messageId | readonly | string | Channel-native message id (dedup + audit). | packages/channels/src/spi.ts:84 |
raw? | readonly | unknown | The 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 |
receivedAt | readonly | string | ISO-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? | readonly | string | Short excerpt of the quoted message, when the vendor supplies one. | packages/channels/src/spi.ts:96 |
replyTo.messageId | readonly | string | - | packages/channels/src/spi.ts:94 |
text | readonly | string | Normalized 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 |