Marmot-TS
    Preparing search index...

    Type Alias GroupSessionSendIntent

    GroupSessionSendIntent:
        | {
            expectedParent?: string;
            kind: "applicationMessage";
            payload: Uint8Array;
            signal?: AbortSignal;
        }
        | { kind: "proposal"; proposal: Proposal }
        | { kind: "selfUpdate" }
        | {
            actorPubkey: string;
            expectedParent?: string;
            extraProposals?: CommitProposalInputs;
            kind: "commit";
            proposalRefs?: string[];
            signal?: AbortSignal;
            welcomeRecipients?: WelcomeRecipient[];
        }

    Local protocol intent accepted by GroupSession.

    Type Declaration

    • {
          expectedParent?: string;
          kind: "applicationMessage";
          payload: Uint8Array;
          signal?: AbortSignal;
      }
    • { kind: "proposal"; proposal: Proposal }
    • { kind: "selfUpdate" }
    • {
          actorPubkey: string;
          expectedParent?: string;
          extraProposals?: CommitProposalInputs;
          kind: "commit";
          proposalRefs?: string[];
          signal?: AbortSignal;
          welcomeRecipients?: WelcomeRecipient[];
      }
      • actorPubkey: string
      • OptionalexpectedParent?: string

        Canonical session.parentToken captured before fallible image work. Required for image commits.

      • OptionalextraProposals?: CommitProposalInputs
      • kind: "commit"
      • OptionalproposalRefs?: string[]
      • Optionalsignal?: AbortSignal

        Abort queued work or preparation before publication; confirmed work remains final.

      • OptionalwelcomeRecipients?: WelcomeRecipient[]