pub struct MonitorPlan {
pub listen_enabled: Option<bool>,
pub listen_authentication_enabled: Option<bool>,
pub control_enabled: Option<bool>,
pub control_authentication_enabled: Option<bool>,
}Fields§
§listen_enabled: Option<bool>This determines whether the assistant’s calls allow live listening. Defaults to true. Fetch call.monitor.listenUrl to get the live listening URL. @default true
listen_authentication_enabled: Option<bool>This enables authentication on the call.monitor.listenUrl. If listenAuthenticationEnabled is true, the call.monitor.listenUrl will require an Authorization: Bearer <vapi-public-api-key> header. @default false
control_enabled: Option<bool>This determines whether the assistant’s calls allow live control. Defaults to true. Fetch call.monitor.controlUrl to get the live control URL. To use, send any control message via a POST request to call.monitor.controlUrl. Here are the types of controls supported: https://docs.vapi.ai/api-reference/messages/client-inbound-message @default true
control_authentication_enabled: Option<bool>This enables authentication on the call.monitor.controlUrl. If controlAuthenticationEnabled is true, the call.monitor.controlUrl will require an Authorization: Bearer <vapi-public-api-key> header. @default false
Implementations§
Source§impl MonitorPlan
impl MonitorPlan
pub fn new() -> MonitorPlan
Trait Implementations§
Source§impl Clone for MonitorPlan
impl Clone for MonitorPlan
Source§fn clone(&self) -> MonitorPlan
fn clone(&self) -> MonitorPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more