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

Botman stopped replying in messenger

I am getting this error: Error sending payload: The user must be an administrator, editor, or moderator of the page in order to impersonate it. If the page business requires Two Factor Authentication, the user also needs to enable Two Factor…
Alaa
  • 1
0
votes
0 answers

How to get callbackData when I click on a button in Keyboard in botman?

$this->bot->hears('[\s\S]+',function(BotMan $bot){ $input = $bot->getMessage()->getText(); $k = Keyboard::create()->type( Keyboard::TYPE_KEYBOARD ) ->oneTimeKeyboard(true) ->addRow( …
Ibrahim
  • 5
  • 3
0
votes
1 answer

Botman conversation cache time not working

BotMan Version: 2.6 PHP Version: 7.3.23 Laravel Version : 7.16.1 Cache Driver: LaravelCache i'm using botman for telegram bot. everything is ok with botman just the conversation cache time is not working. this is my botman Configuration code : use…
meti
  • 468
  • 1
  • 5
  • 27
0
votes
1 answer

botman io + laravel not continue conversations

I am trying to start a conversation in laravel 7 and botman 2 with telegram. All works fine as but unable to continue the conversations. When I am trying to answer any previous question of the conversation it assuming to start the new conversation…
Ravi Roshan
  • 570
  • 3
  • 14
0
votes
1 answer

Saving SimpleXMLElement parameter to global variable

I'm currently using the Botman framework to make my bot read a XML file. Currently, my bot is able to grab data from an XML file and output it. I'm having issue saving the XML file back into a global variable (so I can reuse later on in the code).…
Kam
  • 3
  • 3
0
votes
0 answers

delete multiple messages in telegram bot

I am using laravel + botman for create telegram bot. I want to delete multiple messages not one by one. Because it take a lot of time. is it possible to delete multiple messages at onces
Jobir
  • 11
  • 1
  • 3
0
votes
0 answers

How to upload laravel project on remote server

I'm trying to install new laravel project via ssh connection on remote server based on ubuntu. I've faced following problem: This project requires php 7.2 zip extension I guess. But I've already had php 7.2. Can someone help me with this? P.S.…
TheLucker777
  • 23
  • 1
  • 5
0
votes
1 answer

Laravel Botman issue - Can't call functions from the same class after nesting inside botman class

I am trying to use the native buttons and questions feature in Botman inside laravel, however i am struggling to understand how to chain functions without using static functions. I have it working where everything is a static function, however i…
Paddy
  • 772
  • 2
  • 11
  • 28
0
votes
1 answer

How do I check what the admin status is in my telegram bot?

I need to write some logic in my bot which checks if a user is admin/owner/creator/member etc I can see when I look at the user data structure, it has a status attribute with, in the case below, the value of 'member'. How can I check for admin,…
user1532669
  • 2,288
  • 4
  • 36
  • 72
0
votes
2 answers

BotMan - Conversations method is not replying

i am working on facebook messenger bot. I am using Botman (botman.io) without Laravel or botman studio. Version of PHP is 7.4. Simple hears and reply method works fine, but conversation replying method does not working. If I try type hi|hello or…
Libor
  • 1
  • 1
  • 1
0
votes
0 answers

Botman.io mysql insert

I am working with a PHP based open source chat bot and trying to save the message the end user typed in to the bot that triggered the "fallback" function. so that I can see what sorts of things people are asking the bot that I might not of built…
Jayreis
  • 253
  • 1
  • 7
  • 28
0
votes
0 answers

botman chatbot error 404 page not found in chat widget

I developed a chatbot using botman framework and it's working fine on localhost. After uploading it on cpanel chat widget gives an error of 404 page not found. Can anyone please help me regarding this I am not able to find the solution. Here you can…
0
votes
1 answer

PHP BotMan Conversation implementation with widget

I am trying to implement the PHP BotMan with the botman widget, however when I use reply it does send back the reply of the message. Now I am trying to do it with conversation and it is just giving me an JSON response back. Is there any way to send…
Eth0
  • 43
  • 1
  • 2
  • 12
0
votes
1 answer

Codeigniter - Botman - Conversations method not replying

I'm using Botman 2.0 and Codeigniter 3.1.6 Ngrok & FB Webhook setup successfully.. Did a simple hears & reply method, working good : $this->botman->hears('foo','HelloWorld@handleFoo'); $this->botman->hears('hello',function($bot){ …
Mavichow
  • 1,213
  • 17
  • 41
-3
votes
1 answer

Is Botman using any Artificial Intelligence? Or it is just a coding method? (based on the codes below)

hears('.*(hi|hey|hello|halo).*', function($bot) { $bot->typesAndWaits(1); $bot->reply('hello'); }); is the code above based on AI? Or is Botman…
Cassey
  • 7
  • 3
1 2 3
4