public function add(string $name, string $credential, string $address, string $proofMaterial = null)
    {
        return $this->httpPostJson('wxa/addnearbypoi', [
            'related_name' => $name,
            'related_credential' => $credential,
            'related_address' => $address,
            'related_proof_material' => $proofMaterial,
        ]);
    }
public function add(string $name, string $credential, string $address, string $proofMaterial = null)
    {
        return $this->httpPostJson('wxa/addnearbypoi', [
            'related_name' => $name,
            'related_credential' => $credential,
            'related_address' => $address,
            'related_proof_material' => $proofMaterial,
        ]);
    }
public function add ( string $ name , string $ credential , string $ address , string $ proofMaterial = null ) { return $ this -> httpPostJson ( 'wxa/addnearbypoi' , [ 'related_name' => $ name , 'related_credential' => $ credential , 'related_address' => $ address , 'related_proof_material' => $ proofMaterial , ] ) ; }
Add nearby poi.

@param string $name
@param string $credential
@param string $address
@param string $proofMaterial

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Add nearby poi .