Documentation

WhatsAppCall extends Message
in package

Generated from protobuf message <code>livekit.WhatsAppCall</code>

Table of Contents

Properties

$direction  : mixed
Direction of the call
$whatsapp_call_id  : mixed
list of call ids that are currently active

Methods

__construct()  : mixed
Constructor.
getDirection()  : int
Direction of the call
getWhatsappCallId()  : string
list of call ids that are currently active
setDirection()  : $this
Direction of the call
setWhatsappCallId()  : $this
list of call ids that are currently active

Properties

$direction

Direction of the call

protected mixed $direction = 0

Generated from protobuf field .livekit.WhatsAppCallDirection direction = 2;

$whatsapp_call_id

list of call ids that are currently active

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
      list of call ids that are currently active
@type int $direction
      Direction of the call

}

getDirection()

Direction of the call

public getDirection() : int

Generated from protobuf field .livekit.WhatsAppCallDirection direction = 2;

Return values
int

getWhatsappCallId()

list of call ids that are currently active

public getWhatsappCallId() : string

Generated from protobuf field string whatsapp_call_id = 1;

Return values
string

setDirection()

Direction of the call

public setDirection(int $var) : $this

Generated from protobuf field .livekit.WhatsAppCallDirection direction = 2;

Parameters
$var : int
Return values
$this

setWhatsappCallId()

list of call ids that are currently active

public setWhatsappCallId(string $var) : $this

Generated from protobuf field string whatsapp_call_id = 1;

Parameters
$var : string
Return values
$this

        
On this page

Search results