Open Agent Loops
API Reference

InboundMessage

@open-agent-loops/core


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

PropertyTypeDescriptionDefined in
channelIdstringThe channel the message arrived on (Slack channel id, Discord channel id, …).channels/channel-source.types.ts:25
textstringThe message text.channels/channel-source.types.ts:34
threadId?stringThe 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
userIdstringWho sent the message.channels/channel-source.types.ts:32

On this page