Skip to main content
Construct a customized-mini-app content value. iMessage-only, remote-only. The layout is what recipients see in the bubble. teamId and extensionBundleId identify the iMessage extension that receives url when the recipient taps the card; the server constructs the matching MSMessageExtensionBalloonPlugin plugin id from these values. appStoreId is optional and only points recipients without the extension at its App Store entry. live is optional; when omitted, the remote server keeps the static layout preview visible. space.send(customizedMiniApp(...)) is the canonical form. CustomizedMiniApp is intentionally not a member of the universal Content union — the as unknown as Content cast keeps the builder shape compatible with the framework’s ContentBuilder.build(): Promise<Content> signature.

Parameters

Returns

ContentBuilder