Member Junction
    Preparing search index...

    The part of the SDK receiver the parser uses (so tests inject a fake).

    interface WebhookReceiverLike {
        receive(
            body: string,
            authHeader?: string,
        ): Promise<
            {
                event: string;
                participant?: {
                    attributes: { [key: string]: string };
                    identity: string;
                    kind: number;
                };
                room?: { name: string };
            },
        >;
    }
    Index

    Methods

    Methods

    • Parameters

      • body: string
      • OptionalauthHeader: string

      Returns Promise<
          {
              event: string;
              participant?: {
                  attributes: { [key: string]: string };
                  identity: string;
                  kind: number;
              };
              room?: { name: string };
          },
      >