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
3
votes
3 answers

How can I change default backround color of botman.io widget

Im using botman.io package for chatboot widget. Everything works perfectly but problem is that i can't change default background color of chat widget. On inspect console it shown that boman widget calls (…
Nenad
  • 323
  • 2
  • 6
  • 21
2
votes
1 answer

Is there a way to make Symfony controller return nothing?

I use Symfony 6.1 and PHP 8.1. I'm wondering if there is a way to make a Symfony controller return nothing. The why is I'm using Botman and unfortunalty it send itself a response to the client... So I need to make my controller to return…
Loicyeu
  • 115
  • 9
2
votes
1 answer

Telegram bot inline keyboard disappeared after first click

I'm developing a telegram bot via Botman which displays telegram inline keyboard with callback mode. After receiving callback_query from telegram, I will respond with answerCallbackQuery which works just fine for the first time. The problem is that…
Saeid Asadi
  • 699
  • 1
  • 6
  • 14
2
votes
1 answer

How to integrate Botman in Symfony 3 (controller and view )?

I would like to integrate a chatbot into my symfony website. So I saw that there was Botman which is a PHP framework and it meets my needs, but I find no documentation concerning its integration with Symfony.So as it is in PHP and symfony too, so I…
Mohamed Sacko
  • 233
  • 1
  • 2
  • 20
2
votes
0 answers

How do I send telegram bot messages to a group from cron using Botman?

I'm using BotMan which is currently using Laravel Framework 5.7.3. I'm new to this so I expect this is a pretty simple question. I want to send messages to a Telegram chat group on an hourly basis with cron using the following command: …
user1532669
  • 2,288
  • 4
  • 36
  • 72
2
votes
1 answer

Telegram does not show keyboard sent via Botman

I am creating a process for my telegram bot via Botman and php. In the now case I need to make a message with buttons under a user message field like this: I try the next code: use BotMan\Drivers\Telegram\Extensions\Keyboard; use…
demover123
  • 21
  • 2
2
votes
0 answers

Botman not listen answer and turn again in payload

Description: I'm starting to do well on Botman studio. But now, for the last 20 minutes, I've had a strange reaction. I listen paylod 'GET_STARTED' on Messenger. When the discussion arrives on the menu. I use quick_replies. The bot doesn't wait for…
V. MARTIN
  • 61
  • 1
  • 2
  • 10
2
votes
1 answer

Botman not replying

Botman is not replying below is my code All files are downloaded through composer PHP version 7.0 Codeigniter version 3 Controller:- require __DIR__ . '/vendor/autoload.php'; use BotMan\BotMan\BotMan; use BotMan\BotMan\Drivers\DriverManager; use…
Sukhwinder Sodhi
  • 455
  • 1
  • 4
  • 18
1
vote
1 answer

Current BotMan and DIalogFlow integration?

I want to know how it is the current way to integrate BotMan and DialogFlow. I use BotMan with pure php and the web driver. Please help to correctly integrate with example if possible please, but at least a guide. Its for school project.
BOL
  • 11
  • 1
1
vote
0 answers

Call to a member function reply() on null laravel botman

This is the code of model. I am unable to change access the function of conversation using the model method as i am passing data from view to botman conversation constructor through request.
1
vote
0 answers

Change botman question button color style

I want to change the color of the button inside the botman chatbot widget. Here is the code: $question = Question::create('Hi, I am virutal assistant. How can i help today?') ->callbackId('select_service') ->addButtons([ …
1
vote
0 answers

Payment in Botman

I am making a telegram bot that provides paid advanced access. I use the botman studio library. There was a problem getting a response from telegrams "PreCheckoutQuery". I went the following way: 1. Created a hierarchy of dialogs using buttons *Main…
bamalt
  • 11
  • 2
1
vote
0 answers

How do you get $bot->userStorage()->delete() to work in botman?

Considering the code below: $botman->hears('show-delete', function($bot) { $stuff = $bot->userStorage()->all(); $bot->reply(serialize($stuff)); // first dump $bot->userStorage()->delete(); $stuff = $bot->userStorage()->all(); …
user1729972
  • 712
  • 2
  • 9
  • 29
1
vote
1 answer

What could be causing incessant calls to my Telegram webhook?

I have a simple PHP script (using Botman) called by my Telegram bot via a webhook. It's supposed to respond on receiving a keyword. This works, sending response messages to my phone. Randomly however it repeats the messages, without any input.…
user1729972
  • 712
  • 2
  • 9
  • 29
1
vote
1 answer

Laraavel Botman Get Message Id

BotMan Version: 2.6.1 PHP Version: 7.3|8.0 Messaging Service(s): Web Cache Driver: Laravel Description: I tried to delete the last bot message. How can I Do this? Steps To Reproduce: I used ask method to get answer id $this->ask('Ask me…
1
2 3 4