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
Hi,
I know it's been a long time but I was hoping you could help me out. How do I get the "/whoami" commands executed when the buttons are clicked. Thanks
Hi,
I know it's been a long time but I was hoping you could help me out. How do I get the "/whoami" commands executed when the buttons are clicked. Thanks
Hi,
I know it's been a long time but I was hoping you could help me out. How do I get the "/whoami" commands executed when the buttons are clicked. Thanks
// inline keyboard
$bot->cmd('/keyboard', function () {
$keyboard[] = [
['text' => 'PHPTelebot', 'callback_data' => '/whoami'],
['text' => 'Haru bot', 'callback_data' => '/whoami'],
];
$options = [
'reply_markup' => ['inline_keyboard' => $keyboard],
];
});
The text was updated successfully, but these errors were encountered: