Skip to content

BotMessageTargetOptions

Defined in: packages/core/src/message/target.ts:102

Message

Snapshot

readonly optional fingerprint?: (snapshot) => string

Defined in: packages/core/src/message/target.ts:111

A stable string used to skip snapshots that produce no visible change. Defaults to JSON.stringify; hosts that already walked their tree should pass the structural fingerprint they computed.

Snapshot

string


readonly platform: string

Defined in: packages/core/src/message/target.ts:103


readonly optional seed?: object

Defined in: packages/core/src/message/target.ts:113

Continues an existing message instead of creating one.

readonly message: Message

readonly optional skipInitial?: boolean


readonly send: (snapshot) => Effect<Message, MessageTargetError>

Defined in: packages/core/src/message/target.ts:105

Creates the first message or edits the existing one.

Snapshot

Effect<Message, MessageTargetError>