TextRequestClient Class

Definition

Typed client for textrequest connector.

public class TextRequestClient : Azure.Connectors.Sdk.ConnectorClientBase
type TextRequestClient = class
    inherit ConnectorClientBase
Public Class TextRequestClient
Inherits ConnectorClientBase
Inheritance
TextRequestClient

Constructors

Name Description
TextRequestClient()
TextRequestClient(String)

Creates a new TextRequestClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

TextRequestClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new TextRequestClient with the specified connection runtime URL and credential.

TextRequestClient(Uri, TokenCredential)

Creates a new TextRequestClient with the specified connection runtime URL and credential.

TextRequestClient(Uri)

Creates a new TextRequestClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
ArchiveConversationAsync(Int32, String, CancellationToken)

Archive a Conversation

BulkUpdateContactsAsync(Int32, List<Nullable<JsonElement>>, CancellationToken)

Bulk update contacts

CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CancelPaymentAsync(Int32, Int32, CancellationToken)

Cancels the specified payment

CreateContactAsync(Int32, String, CreateContactInput, CancellationToken)

Create or update a contact

CreateDashboardAsync(CreateDashboardInput, CancellationToken)

Create a new dashboard with the given name and phone number

CreateGroupAsync(Int32, CreateGroupInput, CancellationToken)

Creates a new group

CreatePaymentAsync(Int32, CreatePaymentInput, CancellationToken)

Creates a new payment

DeleteContactAsync(Int32, String, CancellationToken)

Deletes the contact with the specified phone number

DeleteDashboardAsync(Int32, CancellationToken)

Deletes the specified dashboard

DeleteGroupAsync(Int32, Int32, CancellationToken)

Deletes the group with the specified id

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
GetContactByPhoneNumberAsync(Int32, String, CancellationToken)

Gets the contact with the specified phone number

GetContactsAsync(Int32, Int32, Int32, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, String, String, String, String, String, String, String, String, CancellationToken)

Get all contacts that match the specified filtering criterion

GetConversationsAsync(Int32, String, String, String, String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Gets all conversations for this dashboard

GetCustomFieldsAsync(Int32, CancellationToken)

Gets all custom fields

GetDashboardAsync(Int32, CancellationToken)

Get info on this specific dashboard

GetDashboardsAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

Get all dashboards in an account

GetGroupByIdAsync(Int32, Int32, CancellationToken)

Get a group by its id

GetGroupsAsync(Int32, Int32, Int32, CancellationToken)

Gets all groups

GetMessagesByContactPhoneAsync(Int32, String, Int32, Int32, CancellationToken)

Get a conversation's messages by a contact's phone number

GetPaymentAsync(Int32, Int32, CancellationToken)

Gets the payment with the specified id

GetPaymentsAsync(Int32, Int32, Int32, String, String, String, String, CancellationToken)

Gets all payments

GetTagsAsync(Int32, Int32, Int32, CancellationToken)

Gets all tags

MarkPaymentPaidAsync(Int32, Int32, CancellationToken)

Mark a payment as paid

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
SendMessageByPhoneNumberAsync(Int32, String, SendMessageByPhoneNumberInput, CancellationToken)

Send a message to the contact with the given phone number

SendPaymentReminderAsync(Int32, Int32, CancellationToken)

Send a follow-up text reminding the user to pay the specified payment

UnarchiveConversationAsync(Int32, String, CancellationToken)

Unarchive a Conversation

UpdateDashboardsNameAsync(Int32, UpdateDashboardsNameInput, CancellationToken)

Update a specific dashboard's name

UpdateGroupAsync(Int32, Int32, UpdateGroupInput, CancellationToken)

Updates a group with the given id

Applies to