Type alias ProviderCommand

ProviderCommand: {
    name: "startCapture";
} | {
    name: "suspendCapture";
} | {
    name: "postChat";
    text: string;
} | {
    name: "leave";
    reason: MeetingLeaveReason;
} | {
    name: "kill";
}

A command the manager sends to a run's bot: startCapture and suspendCapture start and stop the audio it passes on, postChat posts to the meeting's chat, leave leaves the meeting with a reason, and kill stops the bot at once.

Type declaration

  • name: "startCapture"

Type declaration

  • name: "suspendCapture"

Type declaration

  • name: "postChat"
  • text: string

Type declaration

Type declaration

  • name: "kill"