pub struct DialWhatsAppCallRequest {
pub whatsapp_phone_number_id: String,
pub whatsapp_to_phone_number: String,
pub whatsapp_api_key: String,
pub whatsapp_cloud_api_version: String,
pub whatsapp_biz_opaque_callback_data: String,
pub room_name: String,
pub agents: Vec<RoomAgentDispatch>,
pub participant_identity: String,
pub participant_name: String,
pub participant_metadata: String,
pub participant_attributes: HashMap<String, String>,
pub destination_country: String,
}Fields§
§whatsapp_phone_number_id: StringRequired - The number of the business that is initiating the call
whatsapp_to_phone_number: StringRequired - The number of the user that is supossed to receive the call
whatsapp_api_key: StringRequired - The API key of the business that is initiating the call
whatsapp_cloud_api_version: StringRequired - WhatsApp Cloud API version, eg: 23.0, 24.0, etc.
whatsapp_biz_opaque_callback_data: StringOptional - An arbitrary string you can pass in that is useful for tracking and logging purposes.
room_name: StringOptional - What LiveKit room should this participant be connected too
agents: Vec<RoomAgentDispatch>Optional - Agents to dispatch the call to
participant_identity: StringOptional - Identity of the participant in LiveKit room
participant_name: StringOptional - Name of the participant in LiveKit room
participant_metadata: StringOptional - User-defined metadata. Will be attached to a created Participant in the room.
participant_attributes: HashMap<String, String>Optional - User-defined attributes. Will be attached to a created Participant in the room.
destination_country: StringOptional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
Next - 13
Trait Implementations§
Source§impl Clone for DialWhatsAppCallRequest
impl Clone for DialWhatsAppCallRequest
Source§fn clone(&self) -> DialWhatsAppCallRequest
fn clone(&self) -> DialWhatsAppCallRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DialWhatsAppCallRequest
impl Debug for DialWhatsAppCallRequest
Source§impl Default for DialWhatsAppCallRequest
impl Default for DialWhatsAppCallRequest
§impl<'de> Deserialize<'de> for DialWhatsAppCallRequest
impl<'de> Deserialize<'de> for DialWhatsAppCallRequest
§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 Message for DialWhatsAppCallRequest
impl Message for DialWhatsAppCallRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.