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