diff --git a/src/Voice/Bxml/StartTranscription.php b/src/Voice/Bxml/StartTranscription.php
index c9c81cc..6820ce2 100644
--- a/src/Voice/Bxml/StartTranscription.php
+++ b/src/Voice/Bxml/StartTranscription.php
@@ -48,6 +48,10 @@ class StartTranscription extends Verb {
* @var bool
*/
private $stability;
+ /**
+ * @var bool
+ */
+ private $stabilized;
/**
* Sets the destination attribute for StartTranscription
@@ -131,6 +135,17 @@ public function stability( bool $stability): StartTranscription {
return $this;
}
+ /**
+ * Sets the stabilized attribute for StartTranscription
+ *
+ * @param bool Whether to send transcription update events to the specified destination only after they have become stable. Requires destination. Defaults to true.
+ *
+ */
+ public function stabilized( bool $stabilized): StartTranscription {
+ $this->stabilized = $stabilized;
+ return $this;
+ }
+
/**
* Sets the tag. You may specify up to 12 elements nested within a tag. These elements define optional user specified parameters that will be sent to the destination URL when the real-time transcription is first started.
*
@@ -176,6 +191,10 @@ public function toBxml(DOMDocument $doc): DOMElement {
$element->setattribute("stablilty", $this->stability);
}
+ if(isset($this->stabilized)) {
+ $element->setattribute("stabilized", $this->stabilized);
+ }
+
if(isset($this->customParams)) {
foreach ($this->customParams as $customParam) {
$element->appendChild($customParam->toBxml($doc));