Twilio\Rest\Autopilot\V1\Assistant\Task\UpdateSampleOptions

Synopsis

class UpdateSampleOptions extends Options {
  • // Inherited members from Options
  • protected array $options;
  • // Inherited methods from Options
  • public void getIterator()
}

Hierarchy

Extends

Members

protected

  • $options

Methods

public

  • __construct()
  • __toString() — Provide a friendly representation
  • setLanguage() — The [ISO language-country](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html) string that specifies the language used for the sample. For example: `en-US`.
  • setSourceChannel() — The communication channel from which the sample was captured. Can be: `voice`, `sms`, `chat`, `alexa`, `google-assistant`, `slack`, or null if not included.
  • setTaggedText() — The text example of how end users might express the task. The sample can contain [Field tag blocks](https://www.twilio.com/docs/autopilot/api/task-sample#field-tagging).

Inherited from Twilio\Options

public