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
- $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
- 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
- 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;
$whatsapp_call_id
Required - Call ID sent by Meta
protected
mixed
$whatsapp_call_id
= ''
Generated from protobuf field string whatsapp_call_id = 1;
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}
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|nullgetWhatsappCallId()
Required - Call ID sent by Meta
public
getWhatsappCallId() : string
Generated from protobuf field string whatsapp_call_id = 1;
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
$thissetWhatsappCallId()
Required - Call ID sent by Meta
public
setWhatsappCallId(string $var) : $this
Generated from protobuf field string whatsapp_call_id = 1;
Parameters
- $var : string