Skip to content

Commit 1035bc9

Browse files
committed
Bot API 6.4
1 parent 8b0e92f commit 1035bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BotManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace TelegramBot\TelegramBotManager;
1212

13+
use Closure;
1314
use Exception;
1415
use Longman\IPTools\Ip;
1516
use Longman\TelegramBot\Entities\CallbackQuery;
@@ -388,7 +389,6 @@ protected function defaultGetUpdatesCallback(ServerResponse $get_updates_respons
388389
$chat_id = $update_content->getChat()->getId();
389390
$text .= ";{$update_content->getType()}";
390391
} elseif ($update_content instanceof InlineQuery || $update_content instanceof ChosenInlineResult) {
391-
/** @var InlineQuery|ChosenInlineResult $update_content */
392392
$chat_id = $update_content->getFrom()->getId();
393393
$text .= ";{$update_content->getQuery()}";
394394
} elseif ($update_content instanceof CallbackQuery) {

0 commit comments

Comments
 (0)