Updated method \TgBotLib > Bot > handleGetUpdates()
to handle exceptions
This commit is contained in:
parent
8a4dfddae6
commit
fbc472d8de
6 changed files with 21 additions and 27 deletions
|
@ -19,7 +19,7 @@
|
|||
{
|
||||
// reply to the incoming message
|
||||
$bot->sendMessage(
|
||||
$update->getMessage()->getChat()->getId(), 'Hello, ' . $update->getMessage()->getFrom()->getFirstName()
|
||||
$update->getMessage()?->getChat()?->getId(), 'Hello, ' . $update->getMessage()?->getFrom()?->getFirstName()
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue