Class ConnectTwilioCallRequest
public sealed class ConnectTwilioCallRequest : IMessage<ConnectTwilioCallRequest>, IEquatable<ConnectTwilioCallRequest>, IDeepCloneable<ConnectTwilioCallRequest>, IBufferMessage, IMessage
- Inheritance
-
ConnectTwilioCallRequest
- Implements
-
IMessage<ConnectTwilioCallRequest>IDeepCloneable<ConnectTwilioCallRequest>IBufferMessageIMessage
- Inherited Members
Constructors
ConnectTwilioCallRequest()
public ConnectTwilioCallRequest()
ConnectTwilioCallRequest(ConnectTwilioCallRequest)
public ConnectTwilioCallRequest(ConnectTwilioCallRequest other)
Parameters
otherConnectTwilioCallRequest
Fields
AgentsFieldNumber
Field number for the "agents" field.
public const int AgentsFieldNumber = 3
Field Value
DestinationCountryFieldNumber
Field number for the "destination_country" field.
public const int DestinationCountryFieldNumber = 8
Field Value
ParticipantAttributesFieldNumber
Field number for the "participant_attributes" field.
public const int ParticipantAttributesFieldNumber = 7
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 4
Field Value
ParticipantMetadataFieldNumber
Field number for the "participant_metadata" field.
public const int ParticipantMetadataFieldNumber = 6
Field Value
ParticipantNameFieldNumber
Field number for the "participant_name" field.
public const int ParticipantNameFieldNumber = 5
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 2
Field Value
TwilioCallDirectionFieldNumber
Field number for the "twilio_call_direction" field.
public const int TwilioCallDirectionFieldNumber = 1
Field Value
Properties
Agents
Optional agents to dispatch the call to
public RepeatedField<RoomAgentDispatch> Agents { get; }
Property Value
- RepeatedField<RoomAgentDispatch>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
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
Parser
public static MessageParser<ConnectTwilioCallRequest> Parser { get; }
Property Value
- MessageParser<ConnectTwilioCallRequest>
ParticipantAttributes
Optional user-defined attributes. Will be attached to a created Participant in the room.
public MapField<string, string> ParticipantAttributes { get; }
Property Value
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
ParticipantMetadata
Optional user-defined metadata. Will be attached to a created Participant in the room.
public string ParticipantMetadata { get; set; }
Property Value
ParticipantName
Optional name of the participant in LiveKit room
public string ParticipantName { get; set; }
Property Value
RoomName
What LiveKit room should this call be connected to
public string RoomName { get; set; }
Property Value
TwilioCallDirection
The Direction of the call
public ConnectTwilioCallRequest.Types.TwilioCallDirection TwilioCallDirection { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public ConnectTwilioCallRequest Clone()
Returns
- ConnectTwilioCallRequest
A deep clone of this object.
Equals(ConnectTwilioCallRequest)
public bool Equals(ConnectTwilioCallRequest other)
Parameters
otherConnectTwilioCallRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ConnectTwilioCallRequest)
Merges the given message into this one.
public void MergeFrom(ConnectTwilioCallRequest other)
Parameters
otherConnectTwilioCallRequest
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.