Skip to content

Commit 0b263a8

Browse files
Merge pull request #258 from dvonthenen/update-utterance-end
Update UtteranceEnd Message With Latest
2 parents b9655ea + b6ada32 commit 0b263a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deepgram/clients/live/v1/response.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ class UtteranceEndResponse:
170170
"""
171171

172172
type: Optional[str] = ""
173+
channel: Optional[List[int]] = None
174+
last_word_end: Optional[float] = 0
175+
176+
def __getitem__(self, key):
177+
_dict = self.to_dict()
178+
return _dict[key]
173179

174180

175181
# Error Message

0 commit comments

Comments
 (0)