Minor Changes
This commit is contained in:
parent
11e60c56c4
commit
e3ed0529b9
4 changed files with 34 additions and 21 deletions
|
@ -18,6 +18,8 @@
|
|||
public function handle(Bot $bot, Update $update): void
|
||||
{
|
||||
// reply to the incoming message
|
||||
$bot->sendMessage($update->getMessage()->getChat()->getId(), 'Hello, ' . $update->getMessage()->getFrom()->getFirstName());
|
||||
$bot->sendMessage(
|
||||
$update->getMessage()->getChat()->getId(), 'Hello, ' . $update->getMessage()->getFrom()->getFirstName()
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue