@urth/metatell-sdk - v0.1.0
    Preparing search index...

    Function send

    • Send a chat message and resolve once the host confirms it.

      Parameters

      • text: string

        The message text.

      • opts: SendOptions = {}

        Channel, reply target, and timeout options.

      Returns Promise<ChatMessage>

      The delivered message.

      If no host handler is wired, the host returns an error, or the send times out.

      import { send } from "@urth/metatell-sdk/chat";

      await send("hello world");