Interface: ChannelMessage
Defined in: packages/agentos/src/channels/types.ts:165
Inbound message received from an external platform.
Properties
content
content:
MessageContentBlock[]
Defined in: packages/agentos/src/channels/types.ts:177
Message content.
conversationId
conversationId:
string
Defined in: packages/agentos/src/channels/types.ts:171
Conversation/chat ID.
conversationType
conversationType:
ConversationType
Defined in: packages/agentos/src/channels/types.ts:173
Conversation type.
messageId
messageId:
string
Defined in: packages/agentos/src/channels/types.ts:167
Unique message ID assigned by the platform.
platform
platform:
ChannelPlatform
Defined in: packages/agentos/src/channels/types.ts:169
Platform this message came from.
rawEvent?
optionalrawEvent:unknown
Defined in: packages/agentos/src/channels/types.ts:185
Platform-specific raw data (for adapters that need pass-through).
replyToMessageId?
optionalreplyToMessageId:string
Defined in: packages/agentos/src/channels/types.ts:183
Message being replied to, if this is a reply.
sender
sender:
RemoteUser
Defined in: packages/agentos/src/channels/types.ts:175
Who sent the message.
text
text:
string
Defined in: packages/agentos/src/channels/types.ts:179
Raw text representation (convenience — extracted from content blocks).
timestamp
timestamp:
string
Defined in: packages/agentos/src/channels/types.ts:181
ISO timestamp from the platform.