Answer the question
In order to leave comments, you need to log in
How to work with proxy on Botman?
You need to work through a proxy on Botman. Found an issue on GitHub for my problem. The package author says that you need to create your own service provider and configure Curl yourself there:
BotMan Studio loads the BotManServiceProvider in your config/app.php
The service provider loads BotMan through the factory. And the factory create method ibstanciates curl.
https://github.com/botman/botman/blob/master/src/B...
So just create your own service provider instead of the BotMan one and use the custom creation code.
https://github.com/botman/botman/blob/master/src/B...
$botman = BotManFactory::create(config('botman', []), new LaravelCache(), $app->make('request'), $storage);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question