Table of Contents

Class ConnectTwilioCallRequest

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

Constructors

ConnectTwilioCallRequest()

public ConnectTwilioCallRequest()

ConnectTwilioCallRequest(ConnectTwilioCallRequest)

public ConnectTwilioCallRequest(ConnectTwilioCallRequest other)

Parameters

other ConnectTwilioCallRequest

Properties

Agents

Optional agents to dispatch the call to

public RepeatedField<RoomAgentDispatch> Agents { get; }

Property Value

RepeatedField<RoomAgentDispatch>

DestinationCountry

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

RoomName

What LiveKit room should this call be connected to

public string RoomName { get; set; }

Property Value

string

TwilioCallDirection

The Direction of the call

public ConnectTwilioCallRequest.Types.TwilioCallDirection TwilioCallDirection { get; set; }

Property Value

ConnectTwilioCallRequest.Types.TwilioCallDirection