pub struct AcceptWhatsAppCallRequest {Show 13 fields
pub whatsapp_phone_number_id: String,
pub whatsapp_api_key: String,
pub whatsapp_cloud_api_version: String,
pub whatsapp_call_id: String,
pub whatsapp_biz_opaque_callback_data: String,
pub sdp: Option<SessionDescription>,
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 conencting the call
whatsapp_api_key: StringRequired - The API key of the business that is connecting the call
whatsapp_cloud_api_version: StringRequired - WhatsApp Cloud API version, eg: 23.0, 24.0, etc.
whatsapp_call_id: StringRequired - Call ID sent by Meta
whatsapp_biz_opaque_callback_data: StringOptional - An arbitrary string you can pass in that is useful for tracking and logging purposes.
sdp: Option<SessionDescription>Required - The call accept webhook comes with SDP from Meta It is the for a user initiated call
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 - 14
Trait Implementations§
Source§impl Clone for AcceptWhatsAppCallRequest
impl Clone for AcceptWhatsAppCallRequest
Source§fn clone(&self) -> AcceptWhatsAppCallRequest
fn clone(&self) -> AcceptWhatsAppCallRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AcceptWhatsAppCallRequest
impl Debug for AcceptWhatsAppCallRequest
Source§impl Default for AcceptWhatsAppCallRequest
impl Default for AcceptWhatsAppCallRequest
§impl<'de> Deserialize<'de> for AcceptWhatsAppCallRequest
impl<'de> Deserialize<'de> for AcceptWhatsAppCallRequest
§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 AcceptWhatsAppCallRequest
impl Message for AcceptWhatsAppCallRequest
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.