You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I expect parameter {buttonId} to catch any button value.
**
* @Route("/interactive", name="botman_interactive")
*/
public function interactive()
{
$this->botman->hears('{buttonId}', function ($bot, $buttonId) {
$bot->reply('You click button with id . $buttonId);
});
$this->botman->listen();
return new Response();
}
But $buttonId var is always null
The text was updated successfully, but these errors were encountered:
I send a message to a user with some buttons.
And I expect parameter {buttonId} to catch any button value.
But $buttonId var is always null
The text was updated successfully, but these errors were encountered: