SnapshotCapture
Defined in: packages/core/src/message/mount.ts:43
A platform host that can render one frozen tree into a snapshot without sending it. Discord and Slack both expose this shape.
Type Parameters
Section titled “Type Parameters”Snapshot
Section titled “Snapshot”Snapshot
Properties
Section titled “Properties”container
Section titled “container”
readonlycontainer:unknown
Defined in: packages/core/src/message/mount.ts:44
Methods
Section titled “Methods”setSession()
Section titled “setSession()”setSession(
session):void
Defined in: packages/core/src/message/mount.ts:45
Parameters
Section titled “Parameters”session
Section titled “session”HostSession | null
Returns
Section titled “Returns”void
snapshot()
Section titled “snapshot()”snapshot(
inert?):Snapshot
Defined in: packages/core/src/message/mount.ts:46
Parameters
Section titled “Parameters”inert?
Section titled “inert?”boolean
Returns
Section titled “Returns”Snapshot