TextRequestClient.GetContactByPhoneNumberAsync Method

Definition

Gets the contact with the specified phone number

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetContactByPhoneNumberResponse> GetContactByPhoneNumberAsync(int idOfTheDashboardToMakeThisCallOn, string phoneNumberOfTheContact, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContactByPhoneNumberAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetContactByPhoneNumberResponse>
override this.GetContactByPhoneNumberAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetContactByPhoneNumberResponse>
Public Overridable Function GetContactByPhoneNumberAsync (idOfTheDashboardToMakeThisCallOn As Integer, phoneNumberOfTheContact As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetContactByPhoneNumberResponse)

Parameters

idOfTheDashboardToMakeThisCallOn
Int32

Id of the dashboard to make this call on

phoneNumberOfTheContact
String

Phone Number of the contact

cancellationToken
CancellationToken

Cancellation token.

Returns

The Gets the contact with the specified phone number response.

Remarks

Gets the contact with the specified phone number

Applies to