I just started using botman, i am able to get it working with the web driver.
However, when i try to use the twilio driver, it does not work.
I also noticed that if i return a traditional laravel response with the twilio xml content format, it works!, but when i try to use the 'botman' way of replying using $bot->reply('sdsd')
nothing happens.
From my debugging so far, i can tell that the fallback method is triggered, but no response :(
here is a snippet of the code that is not working:
`Route::post('/p', function (Request $request) {
$botman = app('botman');
$botman->reply('skdsdj fjd hfkjs');
$botman->fallback(function($bot) {
$bot->reply('Message');
});
$botman->listen();
});`
This works tho, but not the 'botman' way :
`Route::post('/p', function (Request $request) {
return response('
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Message>This my first msg.</Message>
<Message>This is jdjkfjd fkdjfkdj.</Message>
</Response>
');
});`