def create(self, type, configuration_url=values.unset,<EOL>configuration_method=values.unset,<EOL>configuration_filters=values.unset,<EOL>configuration_triggers=values.unset,<EOL>configuration_flow_sid=values.unset,<EOL>configuration_retry_count=values.unset):
data = values.of({<EOL>'<STR_LIT>': type,<EOL>'<STR_LIT>': configuration_url,<EOL>'<STR_LIT>': configuration_method,<EOL>'<STR_LIT>': serialize.map(configuration_filters, lambda e: e),<EOL>'<STR_LIT>': serialize.map(configuration_triggers, lambda e: e),<EOL>'<STR_LIT>': configuration_flow_sid,<EOL>'<STR_LIT>': configuration_retry_count,<EOL>})<EOL>payload = self._version.create(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return WebhookInstance(<EOL>self._version,<EOL>payload,<EOL>service_sid=self._solution['<STR_LIT>'],<EOL>channel_sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Create a new WebhookInstance

:param WebhookInstance.Type type: The type of webhook
:param unicode configuration_url: The URL of the webhook to call
:param WebhookInstance.Method configuration_method: The HTTP method used to call `configuration.url`
:param unicode configuration_filters: The events that cause us to call the Channel Webhook
:param unicode configuration_triggers: A string that will cause us to call the webhook when it is found in a message body
:param unicode configuration_flow_sid: The SID of the Studio Flow to call when an event occurs
:param unicode configuration_retry_count: The number of times to retry the webhook if the first attempt fails

:returns: Newly created WebhookInstance
:rtype: twilio.rest.chat.v2.service.channel.webhook.WebhookInstance