ConnectWhatsAppCallRequest
extends Message
in package
Generated from protobuf message <code>livekit.ConnectWhatsAppCallRequest</code>
Table of Contents
Properties
- $sdp : mixed
- Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
- $wait_until_answered : mixed
- Wait for the answer for the call before returning.
- $whatsapp_call_id : mixed
- Required - Call ID sent by Meta
Methods
- __construct() : mixed
- Constructor.
- clearSdp() : mixed
- getSdp() : SessionDescription|null
- Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
- getWaitUntilAnswered() : bool
- Wait for the answer for the call before returning.
- getWhatsappCallId() : string
- Required - Call ID sent by Meta
- hasSdp() : mixed
- setSdp() : $this
- Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
- setWaitUntilAnswered() : $this
- Wait for the answer for the call before returning.
- setWhatsappCallId() : $this
- Required - Call ID sent by Meta
Properties
$sdp
Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
protected
mixed
$sdp
= null
Generated from protobuf field .livekit.SessionDescription sdp = 2;
$wait_until_answered
Wait for the answer for the call before returning.
protected
mixed
$wait_until_answered
= false
Generated from protobuf field bool wait_until_answered = 3;
$whatsapp_call_id
Required - Call ID sent by Meta
protected
mixed
$whatsapp_call_id
= ''
Generated from protobuf field string whatsapp_call_id = 1 [(.logger.name) = "whatsappCallID"];
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $whatsapp_call_id Required - Call ID sent by Meta @type \Livekit\SessionDescription $sdp Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call @type bool $wait_until_answered Wait for the answer for the call before returning.}
clearSdp()
public
clearSdp() : mixed
getSdp()
Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
public
getSdp() : SessionDescription|null
Generated from protobuf field .livekit.SessionDescription sdp = 2;
Return values
SessionDescription|nullgetWaitUntilAnswered()
Wait for the answer for the call before returning.
public
getWaitUntilAnswered() : bool
Generated from protobuf field bool wait_until_answered = 3;
Return values
boolgetWhatsappCallId()
Required - Call ID sent by Meta
public
getWhatsappCallId() : string
Generated from protobuf field string whatsapp_call_id = 1 [(.logger.name) = "whatsappCallID"];
Return values
stringhasSdp()
public
hasSdp() : mixed
setSdp()
Required - The call connect webhook comes with SDP from Meta It is the answer SDP for a business initiated call
public
setSdp(SessionDescription $var) : $this
Generated from protobuf field .livekit.SessionDescription sdp = 2;
Parameters
- $var : SessionDescription
Return values
$thissetWaitUntilAnswered()
Wait for the answer for the call before returning.
public
setWaitUntilAnswered(bool $var) : $this
Generated from protobuf field bool wait_until_answered = 3;
Parameters
- $var : bool
Return values
$thissetWhatsappCallId()
Required - Call ID sent by Meta
public
setWhatsappCallId(string $var) : $this
Generated from protobuf field string whatsapp_call_id = 1 [(.logger.name) = "whatsappCallID"];
Parameters
- $var : string