Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / Content

Interface: Content

Represents the content of a message or communication

Indexable

[key: string]: unknown

Properties

text

text: string

The main text content

Defined in

packages/core/src/types.ts:13


action?

optional action: string

Optional action associated with the message

Defined in

packages/core/src/types.ts:16


source?

optional source: string

Optional source/origin of the content

Defined in

packages/core/src/types.ts:19


url?

optional url: string

URL of the original message/post (e.g. tweet URL, Discord message link)

Defined in

packages/core/src/types.ts:22


inReplyTo?

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

UUID of parent message if this is a reply/thread

Defined in

packages/core/src/types.ts:25


attachments?

optional attachments: Media[]

Array of media attachments

Defined in

packages/core/src/types.ts:28