TextRequestClient.GetMessagesByContactPhoneAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a conversation's messages by a contact's phone number
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetMessagesByContactPhoneResponse> GetMessagesByContactPhoneAsync(int idOfTheDashboardToMakeThisCallOn, string contactSPhoneNumberToSearchBy, int numberPageToGet, int amountOfEachEntityToGetPerPage, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMessagesByContactPhoneAsync : int * string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetMessagesByContactPhoneResponse>
override this.GetMessagesByContactPhoneAsync : int * string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetMessagesByContactPhoneResponse>
Public Overridable Function GetMessagesByContactPhoneAsync (idOfTheDashboardToMakeThisCallOn As Integer, contactSPhoneNumberToSearchBy As String, numberPageToGet As Integer, amountOfEachEntityToGetPerPage As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetMessagesByContactPhoneResponse)
Parameters
- idOfTheDashboardToMakeThisCallOn
- Int32
Id of the dashboard to make this call on
- contactSPhoneNumberToSearchBy
- String
Contact's phone number to search by
- numberPageToGet
- Int32
Number page to get
- amountOfEachEntityToGetPerPage
- Int32
Amount of each entity to get per page
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get a conversation's messages by a contact's phone number response.
Remarks
Get the conversation between the specified dashboard and phone number.