public Task TransferParticipantAsync(Guid conferenceId, string participantId, string fromRoom, string toRoom) { _logger.LogInformation( "Transferring participant {ParticipantId} from {FromRoom} to {ToRoom} in conference: {ConferenceId}", participantId, fromRoom, toRoom, conferenceId); var request = new TransferParticipantParams { From = fromRoom, To = toRoom, Part_id = participantId.ToString() }; return(_kinlyApiClient.TransferParticipantAsync(conferenceId.ToString(), request)); }
private async Task TransferParticipantAsync(Guid conferenceId, string participantId, string fromRoom, string toRoom) { _logger.LogTrace( "Transferring participant {ParticipantId} from {FromRoom} to {ToRoom} in conference: {ConferenceId}", participantId, fromRoom, toRoom, conferenceId); var request = new TransferParticipantParams { From = fromRoom, To = toRoom, Part_id = participantId }; await _kinlyApiClient.TransferParticipantAsync(conferenceId.ToString(), request); }