botman / driver-facebook

BotMan Facebook Messenger Driver
MIT License
71 stars 72 forks source link

Unable to override request options #103

Open nferbei opened 4 years ago

nferbei commented 4 years ago

https://github.com/botman/driver-facebook/blob/a02096c5b9dafddc3353e8c5eff060fcb004985f/src/FacebookDriver.php#L366

You are using array_merge_recursive, so any existing parameters in $parameters will be added to the array.

If I need change messaging_type, I can`t do it, because new param will be added and not overwrite