We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0e92f commit 1035bc9Copy full SHA for 1035bc9
src/BotManager.php
@@ -10,6 +10,7 @@
10
11
namespace TelegramBot\TelegramBotManager;
12
13
+use Closure;
14
use Exception;
15
use Longman\IPTools\Ip;
16
use Longman\TelegramBot\Entities\CallbackQuery;
@@ -388,7 +389,6 @@ protected function defaultGetUpdatesCallback(ServerResponse $get_updates_respons
388
389
$chat_id = $update_content->getChat()->getId();
390
$text .= ";{$update_content->getType()}";
391
} elseif ($update_content instanceof InlineQuery || $update_content instanceof ChosenInlineResult) {
- /** @var InlineQuery|ChosenInlineResult $update_content */
392
$chat_id = $update_content->getFrom()->getId();
393
$text .= ";{$update_content->getQuery()}";
394
} elseif ($update_content instanceof CallbackQuery) {
0 commit comments