Questions tagged [botman]

The open-source PHP chatbot development framework for cross platform chat- and voice-applications.

BotMan is a framework agnostic PHP library that is designed to simplify the task of developing innovative bots for multiple messaging platforms, including Slack, Telegram, Microsoft Bot Framework, Nexmo, HipChat, Facebook Messenger, WeChat and many more.

61 questions
0
votes
1 answer

I have unknown BotManQuestion class from botman article

In laravel 9 app I follow https://christoph-rumpel.com/2018/05/how-i-built-the-laravelquiz-chatbot-with-botman-and-laravel docs to add botman. These articles has 3 using of BotManQuestion class and I have an error : Class…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
0
votes
0 answers

I got symfony/console errors when installed botman/botman into new laravel app?

I try to add botman/botman into my new laravel app, which I created with command : laravel new LrBtmn But I got error : master@master-at-home:/_wwwroot/lar/LrBtmn$ php artisan --version Laravel Framework…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
0
votes
0 answers

Could not construct ApplicationDefaultCredentials for Botman Middleware using dialogflow

I try to integrate Dialogflow with Botman, however this error occurs when i run PHP artisan optimize Before this the chatbot can work, after i run php artisan optimize , all command will give the error above. I also have already add google…
0
votes
1 answer

Separate Botman and Middleware(Dialogflow) reply with if else statement

Hi guys so what i'm trying to do here is when the botman hears something that already in the code it will return if statement, if it hears something other than that it will go get reply from dialogflow. Is it possible or not? I'm new to botman and…
0
votes
1 answer

Send a mail inside botman (laravel 5.7)

I struggle to send a mail inside a botman reply. I use mailhog, with botman 2.0 and laravel 5.7. I've tested mailhog with simple php code , it work. Here my env file config…
Yannou
  • 13
  • 4
0
votes
1 answer

Call to undefined method Symfony\Component\HttpFoundation\Response::create() when adding webhook in facebook

BotMan Version: 2.6.1 PHP Version: 8.1 Messaging Service(s): Facebook Cache Driver: LaravelCache Laravel: 9.18 Description: Hi, im geting this error in laravel 9, how to handle it easiest way? method create not exist, so should i make new class…
NoAd
  • 141
  • 1
  • 14
0
votes
0 answers

Botman Studio local image attachment with PHP artisan and ngrok

I am using Botman Studio with PHP 7.4.22 from XAMPP bundle using php artisan serve. I want image manipulation with Image Intervention and route it using web.php as jpg response. This works in…
ale24
  • 1
  • 2
0
votes
1 answer

Botman Studio with VK Community Callback driver hears not works inside Group

hears and fallback WORKS fine both: use App\Http\Controllers\BotManController; use BotMan\BotMan\Messages\Conversations\Conversation; $botman = resolve('botman'); $botman->hears('Начать', function($bot) { $bot->startConversation(new…
ale24
  • 1
  • 2
0
votes
0 answers

BotMan widget not replying, Using PHP Version 7.4.19 + Win 10 + XXAMP

I am testing botman chat. Followed documentation at https://botman.io/2.0/installation Script open the chat widget at right bottom corner, but when I enter hello, it does not reply. Have tried multiple forums but not getting any solution. Below is…
0
votes
1 answer

When making a chatbot using botman and larvel the botman chatframe isn't working properly

The botman widget appears okay but when i open it to view the chat frame it gives error 404 inside the chat frame. This is the part where i declare the botman widget