@elizaos/core v1.0.6 / v1 / 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/specs/v1/types.ts:13
action?​
optional
action:string
Optional action associated with the message
Defined in​
packages/core/src/specs/v1/types.ts:16
source?​
optional
source:string
Optional source/origin of the content
Defined in​
packages/core/src/specs/v1/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/specs/v1/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/specs/v1/types.ts:25
attachments?​
optional
attachments:Media
[]
Array of media attachments