pub enum TransferDestinationAssistantMessage {
String(String),
CustomMessage(CustomMessage),
}
Expand description
TransferDestinationAssistantMessage : This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message
for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the contents
field.
This is spoken to the customer before connecting them to the destination. Usage: - If this is not provided and transfer tool messages is not provided, default is "Transferring the call now". - If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message
for the destination assistant. This accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the contents
field.
Variants§
String(String)
CustomMessage(CustomMessage)
Trait Implementations§
Source§impl Clone for TransferDestinationAssistantMessage
impl Clone for TransferDestinationAssistantMessage
Source§fn clone(&self) -> TransferDestinationAssistantMessage
fn clone(&self) -> TransferDestinationAssistantMessage
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for TransferDestinationAssistantMessage
impl<'de> Deserialize<'de> for TransferDestinationAssistantMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for TransferDestinationAssistantMessage
impl PartialEq for TransferDestinationAssistantMessage
Source§fn eq(&self, other: &TransferDestinationAssistantMessage) -> bool
fn eq(&self, other: &TransferDestinationAssistantMessage) -> bool
self
and other
values to be equal, and is used by ==
.