DisconnectReason
in package
Protobuf type <code>livekit.DisconnectWhatsAppCallRequest.DisconnectReason</code>
Table of Contents
Constants
- BUSINESS_INITIATED = 0
- The call is being disconnected by the business
- USER_INITIATED = 1
- The call is disconnected by the user.
Properties
- $valueToName : mixed
Methods
Constants
BUSINESS_INITIATED
The call is being disconnected by the business
public
mixed
BUSINESS_INITIATED
= 0
Generated from protobuf enum BUSINESS_INITIATED = 0;
USER_INITIATED
The call is disconnected by the user.
public
mixed
USER_INITIATED
= 1
This can be tracked as part of call terminate webhook https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-initiated-calls#call-terminate-webhook Note that this webhook will also be sent when the call is disconnected by the business. Calling the API twice in such cases will result in an error.
Generated from protobuf enum USER_INITIATED = 1;
Properties
$valueToName
private
static mixed
$valueToName
= [self::BUSINESS_INITIATED => 'BUSINESS_INITIATED', self::USER_INITIATED => 'USER_INITIATED']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed