Marmot-TS
    Preparing search index...

    Function createWelcomeRumor

    • Creates a welcome rumor (kind 444) for a welcome message.

      Parameters

      • __namedParameters: {
            author: string;
            groupRelays: string[];
            keyPackageEventId: string;
            welcome: Welcome;
        }
        • author: string

          The author's public key (hex string)

        • groupRelays: string[]

          Array of relay URLs for the group (becomes the non-empty relays tag)

        • keyPackageEventId: string

          The ID of the KeyPackage event consumed for this add. Required: the spec mandates a 32-byte-hex e tag on every welcome rumor (transports/nostr.md "Welcome delivery").

        • welcome: Welcome

          The MLS welcome message

      Returns Rumor

      Welcome rumor with precomputed ID