def update(self, friendly_name=values.unset, chat_service_sid=values.unset,
               channel_type=values.unset, contact_identity=values.unset,
               enabled=values.unset, integration_type=values.unset,
               integration_flow_sid=values.unset, integration_url=values.unset,
               integration_workspace_sid=values.unset,
               integration_workflow_sid=values.unset,
               integration_channel=values.unset, integration_timeout=values.unset,
               integration_priority=values.unset,
               integration_creation_on_message=values.unset,
               long_lived=values.unset):
        """
        Update the FlexFlowInstance

        :param unicode friendly_name: Human readable description of this FlexFlow
        :param unicode chat_service_sid: Service Sid.
        :param FlexFlowInstance.ChannelType channel_type: Channel type
        :param unicode contact_identity: Channel contact Identity
        :param bool enabled: Boolean flag for enabling or disabling the FlexFlow
        :param FlexFlowInstance.IntegrationType integration_type: Integration type
        :param unicode integration_flow_sid: Flow Sid.
        :param unicode integration_url: External Webhook Url
        :param unicode integration_workspace_sid: Workspace Sid for a new task
        :param unicode integration_workflow_sid: Workflow Sid for a new task
        :param unicode integration_channel: Task Channel for a new task
        :param unicode integration_timeout: Task timeout in seconds for a new task
        :param unicode integration_priority: Task priority for a new task
        :param bool integration_creation_on_message: Flag for task creation
        :param bool long_lived: Long Lived flag for new Channel

        :returns: Updated FlexFlowInstance
        :rtype: twilio.rest.flex_api.v1.flex_flow.FlexFlowInstance
        """
        data = values.of({
            'FriendlyName': friendly_name,
            'ChatServiceSid': chat_service_sid,
            'ChannelType': channel_type,
            'ContactIdentity': contact_identity,
            'Enabled': enabled,
            'IntegrationType': integration_type,
            'Integration.FlowSid': integration_flow_sid,
            'Integration.Url': integration_url,
            'Integration.WorkspaceSid': integration_workspace_sid,
            'Integration.WorkflowSid': integration_workflow_sid,
            'Integration.Channel': integration_channel,
            'Integration.Timeout': integration_timeout,
            'Integration.Priority': integration_priority,
            'Integration.CreationOnMessage': integration_creation_on_message,
            'LongLived': long_lived,
        })

        payload = self._version.update(
            'POST',
            self._uri,
            data=data,
        )

        return FlexFlowInstance(self._version, payload, sid=self._solution['sid'], )
Update the FlexFlowInstance

        :param unicode friendly_name: Human readable description of this FlexFlow
        :param unicode chat_service_sid: Service Sid.
        :param FlexFlowInstance.ChannelType channel_type: Channel type
        :param unicode contact_identity: Channel contact Identity
        :param bool enabled: Boolean flag for enabling or disabling the FlexFlow
        :param FlexFlowInstance.IntegrationType integration_type: Integration type
        :param unicode integration_flow_sid: Flow Sid.
        :param unicode integration_url: External Webhook Url
        :param unicode integration_workspace_sid: Workspace Sid for a new task
        :param unicode integration_workflow_sid: Workflow Sid for a new task
        :param unicode integration_channel: Task Channel for a new task
        :param unicode integration_timeout: Task timeout in seconds for a new task
        :param unicode integration_priority: Task priority for a new task
        :param bool integration_creation_on_message: Flag for task creation
        :param bool long_lived: Long Lived flag for new Channel

        :returns: Updated FlexFlowInstance
        :rtype: twilio.rest.flex_api.v1.flex_flow.FlexFlowInstance