pub struct ServerMessageTransferUpdate {Show 13 fields
pub phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>,
pub type: TypeTrue,
pub destination: Option<ClientMessageTransferUpdateDestination>,
pub timestamp: Option<f64>,
pub artifact: Option<Artifact>,
pub assistant: Option<CreateAssistantDto>,
pub customer: Option<CreateCustomerDto>,
pub call: Option<Call>,
pub chat: Option<Chat>,
pub to_assistant: Option<CreateAssistantDto>,
pub from_assistant: Option<CreateAssistantDto>,
pub to_step_record: Option<Value>,
pub from_step_record: Option<Value>,
}
Fields§
§phone_number: Option<ClientMessageWorkflowNodeStartedPhoneNumber>
§type: TypeTrue
This is the type of the message. "transfer-update" is sent whenever a transfer happens.
destination: Option<ClientMessageTransferUpdateDestination>
§timestamp: Option<f64>
This is the timestamp of the message.
artifact: Option<Artifact>
This is a live version of the call.artifact
. This matches what is stored on call.artifact
after the call.
assistant: Option<CreateAssistantDto>
This is the assistant that the message is associated with.
customer: Option<CreateCustomerDto>
This is the customer that the message is associated with.
call: Option<Call>
This is the call that the message is associated with.
chat: Option<Chat>
This is the chat object.
to_assistant: Option<CreateAssistantDto>
This is the assistant that the call is being transferred to. This is only sent if destination.type
is "assistant".
from_assistant: Option<CreateAssistantDto>
This is the assistant that the call is being transferred from. This is only sent if destination.type
is "assistant".
to_step_record: Option<Value>
This is the step that the conversation moved to.
from_step_record: Option<Value>
This is the step that the conversation moved from. =
Implementations§
Source§impl ServerMessageTransferUpdate
impl ServerMessageTransferUpdate
pub fn new(type: TypeTrue) -> ServerMessageTransferUpdate
Trait Implementations§
Source§impl Clone for ServerMessageTransferUpdate
impl Clone for ServerMessageTransferUpdate
Source§fn clone(&self) -> ServerMessageTransferUpdate
fn clone(&self) -> ServerMessageTransferUpdate
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more