BotMessageTargetOptions
Defined in: packages/core/src/message/target.ts:102
Type Parameters
Section titled “Type Parameters”Message
Section titled “Message”Message
Snapshot
Section titled “Snapshot”Snapshot
Properties
Section titled “Properties”fingerprint?
Section titled “fingerprint?”
readonlyoptionalfingerprint?: (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.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”Snapshot
Returns
Section titled “Returns”string
platform
Section titled “platform”
readonlyplatform:string
Defined in: packages/core/src/message/target.ts:103
readonlyoptionalseed?:object
Defined in: packages/core/src/message/target.ts:113
Continues an existing message instead of creating one.
message
Section titled “message”
readonlymessage:Message
skipInitial?
Section titled “skipInitial?”
readonlyoptionalskipInitial?:boolean
readonlysend: (snapshot) =>Effect<Message,MessageTargetError>
Defined in: packages/core/src/message/target.ts:105
Creates the first message or edits the existing one.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”Snapshot
Returns
Section titled “Returns”Effect<Message, MessageTargetError>