Table of Contents

Class AcceptWhatsAppCallRequest

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class AcceptWhatsAppCallRequest : IMessage<AcceptWhatsAppCallRequest>, IEquatable<AcceptWhatsAppCallRequest>, IDeepCloneable<AcceptWhatsAppCallRequest>, IBufferMessage, IMessage
Inheritance
AcceptWhatsAppCallRequest
Implements
IBufferMessage
Inherited Members

Constructors

AcceptWhatsAppCallRequest()

public AcceptWhatsAppCallRequest()

AcceptWhatsAppCallRequest(AcceptWhatsAppCallRequest)

public AcceptWhatsAppCallRequest(AcceptWhatsAppCallRequest other)

Parameters

other AcceptWhatsAppCallRequest

Properties

Agents

Optional - Agents to dispatch the call to

public RepeatedField<RoomAgentDispatch> Agents { get; }

Property Value

RepeatedField<RoomAgentDispatch>

DestinationCountry

Optional - 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.

public string DestinationCountry { get; set; }

Property Value

string

ParticipantAttributes

Optional - User-defined attributes. Will be attached to a created Participant in the room.

public MapField<string, string> ParticipantAttributes { get; }

Property Value

MapField<string, string>

ParticipantIdentity

Optional - Identity of the participant in LiveKit room This is used for logging purposes, so it is advised to not put PII in this field.

public string ParticipantIdentity { get; set; }

Property Value

string

ParticipantMetadata

Optional - User-defined metadata. Will be attached to a created Participant in the room.

public string ParticipantMetadata { get; set; }

Property Value

string

ParticipantName

Optional - Name of the participant in LiveKit room

public string ParticipantName { get; set; }

Property Value

string

RingingTimeout

Max time for the callee to answer the call.

public Duration RingingTimeout { get; set; }

Property Value

Duration

RoomName

Optional - What LiveKit room should this participant be connected too

public string RoomName { get; set; }

Property Value

string

Sdp

Required - The call accept webhook comes with SDP from Meta It is the for a user initiated call

public SessionDescription Sdp { get; set; }

Property Value

SessionDescription

WaitUntilAnswered

Wait for the answer for the call before returning.

public bool WaitUntilAnswered { get; set; }

Property Value

bool

WhatsappApiKey

Required - The API key of the business that is connecting the call

public string WhatsappApiKey { get; set; }

Property Value

string

WhatsappBizOpaqueCallbackData

Optional - An arbitrary string you can pass in that is useful for tracking and logging purposes.

public string WhatsappBizOpaqueCallbackData { get; set; }

Property Value

string

WhatsappCallId

Required - Call ID sent by Meta

public string WhatsappCallId { get; set; }

Property Value

string

WhatsappCloudApiVersion

Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc.

public string WhatsappCloudApiVersion { get; set; }

Property Value

string

WhatsappPhoneNumberId

Required - The phone number id of the business that is conencting the call

public string WhatsappPhoneNumberId { get; set; }

Property Value

string