FbBotApp.php
public function setDomainWhitelist($domains){

        if(!is_array($domains))
            $domains = array($domains);

        return $this->call('me/messenger_profile', [
            'whitelisted_domains' => $domains
        ], self::TYPE_POST);
    }
public function setDomainWhitelist($domains){

        if(!is_array($domains))
            $domains = array($domains);

        return $this->call('me/messenger_profile', [
            'whitelisted_domains' => $domains
        ], self::TYPE_POST);
    }
public function setDomainWhitelist ( $ domains ) { if ( ! is_array ( $ domains ) ) $ domains = array ( $ domains ) ; return $ this -> call ( 'me/messenger_profile' , [ 'whitelisted_domains' => $ domains ] , self :: TYPE_POST ) ; }
Set Domain Whitelisting

@see https://developers.facebook.com/docs/messenger-platform/messenger-profile/domain-whitelisting
@param array|string $domains
@return array
Set Domain Whitelisting