Azure Connectors Node.js SDK
    Preparing search index...

    Typed client for the textrequest connector.

    Hierarchy (View Summary)

    Index
    • Archive a Conversation

      Parameters

      Returns Promise<string>

      Archives a conversation, removing it from the results of all conversation retrieval endpoints. A conversation will be automatically unarchived if the customer sends a text to your Text Request number, or if you send the customer a text from your Text Request number. Archiving conversations is a good way to remove clutter from customers you don't plan on talking to in the future. Note that if a customer texts in "STOP" to prevent you from sending them any further SMS messages, the conversation is automatically archived.

    • Deletes the group with the specified id

      Parameters

      Returns Promise<string>

      Deletes the group with the specified id. This will succeed even if there are contacts that are members of the group (the contacts will not be deleted).

    • Mark a payment as paid

      Parameters

      Returns Promise<MarkPaymentPaidResponse>

      Closes a payment as "paid". Use this endpoint for when the payment is paid through a means other than the payment request portal. This will close the payment and add its payment amount to your statistics. This endpoint is not required for payments paid through the payments-portal sent through Text Request; that will automatically mark a payment as paid.

    • Unarchive a Conversation

      Parameters

      Returns Promise<string>

      Unarchives a conversation. Once a conversation is unarchived, it will once again appear in the queue. it will also appear in conversations returned by the /conversations endpoint. If a conversation is already unarchived, this method has no effect.