ClickSendSmsClient.SendVoiceAsync(SendVoiceInput, CancellationToken) Method

Definition

Send Voice Message

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceResponse> SendVoiceAsync(Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member SendVoiceAsync : Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceResponse>
override this.SendVoiceAsync : Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.ClickSendSms.Models.SendVoiceResponse>
Public Overridable Function SendVoiceAsync (input As SendVoiceInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SendVoiceResponse)

Parameters

input
SendVoiceInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Send Voice Message response.

Remarks

Each 300 characters = 1 voice message. Can send up to 1,200 standard characters

Applies to