Marmot-TS
    Preparing search index...

    Function createWelcomeRumor

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

      Parameters

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

          The author's public key (hex string)

        • groupRelays: string[]

          Array of relay URLs for the group

        • OptionalkeyPackageEvent?: NostrEvent
        • OptionalkeyPackageEventId?: string

          The ID of the key package event used for the add operation

        • welcome: Welcome

          The MLS welcome message

      Returns Rumor

      Welcome rumor with precomputed ID