def gather(self, input=None, action=None, method=None, timeout=None,<EOL>speech_timeout=None, max_speech_time=None, profanity_filter=None,<EOL>finish_on_key=None, num_digits=None, partial_result_callback=None,<EOL>partial_result_callback_method=None, language=None, hints=None,<EOL>barge_in=None, debug=None, action_on_empty_result=None, **kwargs):
return self.nest(Gather(<EOL>input=input,<EOL>action=action,<EOL>method=method,<EOL>timeout=timeout,<EOL>speech_timeout=speech_timeout,<EOL>max_speech_time=max_speech_time,<EOL>profanity_filter=profanity_filter,<EOL>finish_on_key=finish_on_key,<EOL>num_digits=num_digits,<EOL>partial_result_callback=partial_result_callback,<EOL>partial_result_callback_method=partial_result_callback_method,<EOL>language=language,<EOL>hints=hints,<EOL>barge_in=barge_in,<EOL>debug=debug,<EOL>action_on_empty_result=action_on_empty_result,<EOL>**kwargs<EOL>))<EOL>
Create a <Gather> element

:param input: Input type Twilio should accept
:param action: Action URL
:param method: Action URL method
:param timeout: Time to wait to gather input
:param speech_timeout: Time to wait to gather speech input and it should be either auto or a positive integer.
:param max_speech_time: Max allowed time for speech input
:param profanity_filter: Profanity Filter on speech
:param finish_on_key: Finish gather on key
:param num_digits: Number of digits to collect
:param partial_result_callback: Partial result callback URL
:param partial_result_callback_method: Partial result callback URL method
:param language: Language to use
:param hints: Speech recognition hints
:param barge_in: Stop playing media upon speech
:param debug: Allow debug for gather
:param action_on_empty_result: Force webhook to the action URL event if there is no input
:param kwargs: additional attributes

:returns: <Gather> element