Skip to content

Commit

Permalink
Bot API 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed May 27, 2023
1 parent 8b0e92f commit 1035bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BotManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace TelegramBot\TelegramBotManager;

use Closure;
use Exception;
use Longman\IPTools\Ip;
use Longman\TelegramBot\Entities\CallbackQuery;
Expand Down Expand Up @@ -388,7 +389,6 @@ protected function defaultGetUpdatesCallback(ServerResponse $get_updates_respons
$chat_id = $update_content->getChat()->getId();
$text .= ";{$update_content->getType()}";
} elseif ($update_content instanceof InlineQuery || $update_content instanceof ChosenInlineResult) {
/** @var InlineQuery|ChosenInlineResult $update_content */
$chat_id = $update_content->getFrom()->getId();
$text .= ";{$update_content->getQuery()}";
} elseif ($update_content instanceof CallbackQuery) {
Expand Down

0 comments on commit 1035bc9

Please sign in to comment.