public function lists($type = null)
    {
        $params = [
            'type' => $type,
        ];

        return $this->parseJSON('get', [self::API_LISTS, $params]);
    }
public function lists($type = null)
    {
        $params = [
            'type' => $type,
        ];

        return $this->parseJSON('get', [self::API_LISTS, $params]);
    }
public function lists ( $ type = null ) { $ params = [ 'type' => $ type , ] ; return $ this -> parseJSON ( 'get' , [ self :: API_LISTS , $ params ] ) ; }
List all staffs.

@param string|null $type

@return \EntWeChat\Support\Collection
List all staffs .