Interface: ChannelMessage
Defined in: packages/agentos/src/io/channels/types.ts:208
Inbound message received from an external platform.
Properties
content
content:
MessageContentBlock[]
Defined in: packages/agentos/src/io/channels/types.ts:220
Message content.
conversationId
conversationId:
string
Defined in: packages/agentos/src/io/channels/types.ts:214
Conversation/chat ID.
conversationType
conversationType:
ConversationType
Defined in: packages/agentos/src/io/channels/types.ts:216
Conversation type.
mentions?
optionalmentions:string[]
Defined in: packages/agentos/src/io/channels/types.ts:232
Platform-native user IDs mentioned in this message, when the adapter can extract them (used by GroupPolicy mention gating). Adapters that cannot detect mentions leave this undefined and SHOULD NOT set supportsMentions.
messageId
messageId:
string
Defined in: packages/agentos/src/io/channels/types.ts:210
Unique message ID assigned by the platform.
platform
platform:
ChannelPlatform
Defined in: packages/agentos/src/io/channels/types.ts:212
Platform this message came from.
rawEvent?
optionalrawEvent:unknown
Defined in: packages/agentos/src/io/channels/types.ts:236
Platform-specific raw data (for adapters that need pass-through).
replyToMessageId?
optionalreplyToMessageId:string
Defined in: packages/agentos/src/io/channels/types.ts:226
Message being replied to, if this is a reply.
sender
sender:
RemoteUser
Defined in: packages/agentos/src/io/channels/types.ts:218
Who sent the message.
supportsMentions?
optionalsupportsMentions:boolean
Defined in: packages/agentos/src/io/channels/types.ts:234
Set true by adapters that reliably populate mentions.
text
text:
string
Defined in: packages/agentos/src/io/channels/types.ts:222
Raw text representation (convenience — extracted from content blocks).
timestamp
timestamp:
string
Defined in: packages/agentos/src/io/channels/types.ts:224
ISO timestamp from the platform.