@@ -104,6 +104,12 @@ def gather(self,
104104 timeout = None ,
105105 finish_on_key = None ,
106106 num_digits = None ,
107+ partial_result_callback = None ,
108+ partial_result_callback_method = None ,
109+ language = None ,
110+ hints = None ,
111+ barge_in = None ,
112+ acknowledge_sound_url = None ,
107113 ** kwargs ):
108114 """
109115 Add a new <Gather> element
@@ -113,6 +119,12 @@ def gather(self,
113119 :param timeout: time to wait while gathering input
114120 :param finish_on_key: finish on key press
115121 :param num_digits: digits to collect
122+ :param partial_result_callback: callback url
123+ :param partial_result_callback_method: callback method
124+ :param language: locale string
125+ :param hints: speech recognition hints
126+ :param barge_in: stop playing media upon speech
127+ :param acknowledge_sound_url: url to hit when sound starts
116128 :param kwargs: additional attributes
117129 :return: <Gather> element
118130 """
@@ -122,6 +134,13 @@ def gather(self,
122134 timeout = timeout ,
123135 finish_on_key = finish_on_key ,
124136 num_digits = num_digits ,
137+ partial_result_callback = partial_result_callback ,
138+ partial_result_callback_method = partial_result_callback_method ,
139+ language = language ,
140+ hints = hints ,
141+ barge_in = barge_in ,
142+ acknowledge_sound_url = acknowledge_sound_url ,
143+ ** kwargs
125144 ))
126145
127146 def hangup (self ):
0 commit comments