public TranscriptionServiceTests(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new CallTranscriptionService();

            this.stopOptions = new TranscriptionOptions()
            {
                ClientState = "aGF2ZSBhIG5pY2UgZGF5ID1d",
                CommandId   = "891510ac-f3e4-11e8-af5b-de00688a4901",
            };
            this.startOptions = new TranscriptionStartOptions
            {
                ClientState = this.stopOptions.ClientState,
                CommandId   = this.stopOptions.CommandId,
                Language    = Languages.English
            };
        }
예제 #2
0
 public virtual async Task <TelnyxApiResponse> StopTranscriptionAsync(string id, TranscriptionOptions options, RequestOptions requestOptions = null, CancellationToken ct = default)
 {
     return(await this.transcriptionService.StopAsync(id, options, requestOptions, ct));
 }
예제 #3
0
 public virtual TelnyxApiResponse StopTranscription(string id, TranscriptionOptions options, RequestOptions requestOptions = null)
 {
     return(this.transcriptionService.Stop(id, options, requestOptions));
 }