Interface IMeetingBotProvider

One way of joining meetings. A provider ships as an extension pack with the kind meeting-provider; the host registers it on the manager.

interface IMeetingBotProvider {
    name: string;
    platforms: readonly MeetingPlatform[];
    capabilities: MeetingBotCapabilities;
    verifyEvent(ctx, run): ProviderVerificationResult;
    parseEvent(ctx): ProviderParseResult;
    checkJoinUrl(url): {
        ok: true;
        platform: MeetingPlatform;
    } | {
        ok: false;
        message: string;
    };
    dispatch(input): Promise<DispatchResult>;
    command(runId, command): Promise<void>;
    deleteRun(input): Promise<{
        deleted: boolean;
    }>;
    usage(input): Promise<ProviderUsage[]>;
}

Implemented by

Methods

  • Sends a command to the run's bot. A provider passes on no audio of a run before the run's first startCapture, and none after a suspendCapture until the next startCapture: the manager sends startCapture only once the run's notice is confirmed posted and its stop monitor is healthy.

    Parameters

    Returns Promise<void>

  • Deletes a provider's own copies of a run. Ours keep none; the method stands so a purge always has an answer.

    Parameters

    • input: {
          runId: string;
      }
      • runId: string

    Returns Promise<{
        deleted: boolean;
    }>

Properties

name: string

The name the manager registers the provider under; runs and reports carry it.

platforms: readonly MeetingPlatform[]

The platforms the provider joins.

What the provider declares about itself; the notice and the stop path follow from it.