Outbound messages use the Content discriminated union. Pass a string for plain text, or use builders from @interactions-hq/skyline or @interactions-hq/skyline/content.

Text

Plain text and screen effects.

App

Mini-app cards on iMessage.

Replies

Thread under an existing message.

Typing

Start and stop typing signals.

WhatsApp Business builders

import { wa, text } from "@interactions-hq/skyline";

await space.send(wa.template({ name: "order_update", language: "en" }));
await space.send(wa.image({ link: "https://cdn.example.com/photo.jpg" }));

Authoring

import { defineApp, defineFlow } from "@interactions-hq/skyline/authoring";
See App for delivery on iMessage.