code: def create(self, friendly_name=values.unset, unique_name=values.unset,
                 attributes=values.unset, type=values.unset,
                 date_created=values.unset, date_updated=values.unset,
                 created_by=values.unset):
          
          data = values.of({
              'FriendlyName': friendly_name,
              'UniqueName': unique_name,
              'Attributes': attributes,
              'Type': type,
              'DateCreated': serialize.iso8601_datetime(date_created),
              'DateUpdated': serialize.iso8601_datetime(date_updated),
              'CreatedBy': created_by,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return ChannelInstance(self._version, payload, service_sid=self._solution['service_sid'], )
docs: Create a new ChannelInstance
  
          :param unicode friendly_name: A string to describe the new resource
          :param unicode unique_name: An application-defined string that uniquely identifies the resource
          :param unicode attributes: A valid JSON string that contains application-specific data
          :param ChannelInstance.ChannelType type: The visibility of the channel
          :param datetime date_created: The ISO 8601 date and time in GMT when the resource was created
          :param datetime date_updated: The ISO 8601 date and time in GMT when the resource was updated
          :param unicode created_by: The identity of the User that created the Channel
  
          :returns: Newly created ChannelInstance
          :rtype: twilio.rest.chat.v2.service.channel.ChannelInstance