API Reference
InboundMessage
Defined in: channels/channel-source.types.ts:23
A normalized inbound message — the single shape every transport maps its provider events into, so the rest of the system is channel-agnostic.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
channelId | string | The channel the message arrived on (Slack channel id, Discord channel id, …). | channels/channel-source.types.ts:25 |
text | string | The message text. | channels/channel-source.types.ts:34 |
threadId? | string | The thread within the channel, if the provider threads replies. A thread is the natural unit of conversation, so it maps to a sessionId by default. | channels/channel-source.types.ts:30 |
userId | string | Who sent the message. | channels/channel-source.types.ts:32 |