Module Values_0.CreateParticipantResponseSource

Adds a new participant into an on-going chat contact or webRTC call. For more information, see Customize chat flow experiences by integrating custom participants or Enable multi-user web, in-app, and video calling.

Sourcetype nonrec t = {
  1. participantCredentials : ParticipantTokenCredentials.t option;
    (*

    The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.

    *)
  2. participantId : ParticipantId.t option;
    (*

    The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServiceException of InternalServiceException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?participantCredentials:??? -> ?participantId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServiceException of InternalServiceException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `InternalServiceException of InternalServiceException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ParticipantId.t | `Structure of (string * [> `String of ParticipantToken.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t