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);
    }
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);
    }
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 ) ; }
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
List materials .