Interface: ChannelMessage
Defined in: packages/agentos/src/channels/types.ts:205
Inbound message received from an external platform.
Properties
content
content:
MessageContentBlock[]
Defined in: packages/agentos/src/channels/types.ts:217
Message content.
conversationId
conversationId:
string
Defined in: packages/agentos/src/channels/types.ts:211
Conversation/chat ID.
conversationType
conversationType:
ConversationType
Defined in: packages/agentos/src/channels/types.ts:213
Conversation type.
messageId
messageId:
string
Defined in: packages/agentos/src/channels/types.ts:207
Unique message ID assigned by the platform.
platform
platform:
ChannelPlatform
Defined in: packages/agentos/src/channels/types.ts:209
Platform this message came from.
rawEvent?
optionalrawEvent:unknown
Defined in: packages/agentos/src/channels/types.ts:225
Platform-specific raw data (for adapters that need pass-through).
replyToMessageId?
optionalreplyToMessageId:string
Defined in: packages/agentos/src/channels/types.ts:223
Message being replied to, if this is a reply.
sender
sender:
RemoteUser
Defined in: packages/agentos/src/channels/types.ts:215
Who sent the message.
text
text:
string
Defined in: packages/agentos/src/channels/types.ts:219
Raw text representation (convenience — extracted from content blocks).
timestamp
timestamp:
string
Defined in: packages/agentos/src/channels/types.ts:221
ISO timestamp from the platform.