Marmot-TS
    Preparing search index...

    Type Alias CreateGroupOptions

    CreateGroupOptions: SimpleGroupOptions & {
        ciphersuite?: CiphersuiteName;
        invitees?: NostrEvent[];
    }

    Options for creating a group through GroupsManager.create.

    Type Declaration

    • Optionalciphersuite?: CiphersuiteName
    • Optionalinvitees?: NostrEvent[]

      Founding invitees' KeyPackage events (kind 30443). Supplying this turns create() into a founding creation (D-08): one Add commit carrying every invitee is merged locally to epoch 1 and no kind-445 group event is published for it (refs/marmot/protocol-core/joining.md lines 21-30 — the founding-creation exception). Omitting invitees keeps today's exact solo-create behaviour and code path.

      When invitees is non-empty, relays MUST be a non-empty list of valid ws/wss relay URLs, otherwise create() throws before generating any key material, building any MLS state or writing to any store (CR-01, supersedes D-09 — see 10-VERIFICATION.md). The reason: every Welcome rumor must carry a non-empty relays tag (createWelcomeRumor()), and a group without a Nostr routing component can never publish. A solo create (invitees omitted or empty) may still omit relays.