# Interface Message

Message in a conversation.

interface Message {
role: MessageRole;
content: string | ContentBlock[];
}

- Defined in packages/nexus-agents/src/core/types/model.ts:40

##### Index

### Properties

role
content

## Properties

### role

role: MessageRole

- Defined in packages/nexus-agents/src/core/types/model.ts:41

### content

content: string | ContentBlock[]

- Defined in packages/nexus-agents/src/core/types/model.ts:42