Skip to main 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

action?

optional action: string

Defined in

packages/core/src/types.ts:13


attachments?

optional attachments: Media[]

Defined in

packages/core/src/types.ts:17


inReplyTo?

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

Defined in

packages/core/src/types.ts:16


source?

optional source: string

Defined in

packages/core/src/types.ts:14


text

text: string

Defined in

packages/core/src/types.ts:12


url?

optional url: string

Defined in

packages/core/src/types.ts:15