Skip to main content
Construct an unsend content value retracting target. Only outbound messages (those sent by the agent) can be unsent; calling this with an inbound target throws at build time so the misuse surfaces before the send pipeline runs. Accepts Message | undefined so space.send results chain without narrowing (send resolves undefined when a platform skips unsupported content); an undefined target throws at build time.

Parameters

Message<string, User, Space<unknown>> | undefined
required

Returns

ContentBuilder