original_string: public function list(string $type, int $offset = 0, int $count = 20)
      {
          $params = [
              'type' => $type,
              'offset' => $offset,
              'count' => $count,
          ];
  
          return $this->httpPostJson('cgi-bin/material/batchget_material', $params);
      }
code: public function list(string $type, int $offset = 0, int $count = 20)
      {
          $params = [
              'type' => $type,
              'offset' => $offset,
              'count' => $count,
          ];
  
          return $this->httpPostJson('cgi-bin/material/batchget_material', $params);
      }
code_tokens: public function list ( string $ type , int $ offset = 0 , int $ count = 20 ) { $ params = [ 'type' => $ type , 'offset' => $ offset , 'count' => $ count , ] ; return $ this -> httpPostJson ( 'cgi-bin/material/batchget_material' , $ params ) ; }
docstring: List materials.
  
  example:
  
  {
  "total_count": TOTAL_COUNT,
  "item_count": ITEM_COUNT,
  "item": [{
  "media_id": MEDIA_ID,
  "name": NAME,
  "update_time": UPDATE_TIME
  },
  // more...
  ]
  }
  
  @param string $type
  @param int    $offset
  @param int    $count
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
  
  @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
docstring_tokens: List materials .