'Create a new ChannelInstance
:param unicode friendly_name: The friendly_name
:param unicode unique_name: The unique_name
:param unicode attributes: The attributes
:param ChannelInstance.ChannelType type: The type
:returns: Newly created ChannelInstance
:rtype: twilio.rest.chat.v1.service.channel.ChannelInstance'

def create(self, friendly_name=values.unset, unique_name=values.unset, attributes=values.unset, type=values.unset):

    data = values.of({'FriendlyName': friendly_name, 'UniqueName': unique_name, 'Attributes': attributes, 'Type': type})
    payload = self._version.create('POST', self._uri, data=data)
    return ChannelInstance(self._version, payload, service_sid=self._solution['service_sid'])
