Skip to main content

@ai16z/eliza v0.1.3 / Content

Interface: Content

Represents the content of a message, including its main text (content), any associated action (action), and the source of the content (source), if applicable.

Indexable

[key: string]: unknown

Properties

text

text: string

Defined in

packages/core/src/types.ts:12


action?

optional action: string

Defined in

packages/core/src/types.ts:13


source?

optional source: string

Defined in

packages/core/src/types.ts:14


url?

optional url: string

Defined in

packages/core/src/types.ts:15


inReplyTo?

optional inReplyTo: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:16


attachments?

optional attachments: Media[]

Defined in

packages/core/src/types.ts:17