mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 00:27:20 +01:00
Admit InlineQuery with wrapUpdate method
This commit is contained in:
parent
366c87afa5
commit
b5f9a69d8b
@ -27,6 +27,7 @@ use Amp\Http\Client\Response;
|
||||
use Amp\TimeoutException;
|
||||
use danog\MadelineProto\API;
|
||||
use danog\MadelineProto\EventHandler\AbstractMessage;
|
||||
use danog\MadelineProto\EventHandler\InlineQuery;
|
||||
use danog\MadelineProto\EventHandler\Message;
|
||||
use danog\MadelineProto\EventHandler\Message\ChannelMessage;
|
||||
use danog\MadelineProto\EventHandler\Message\GroupMessage;
|
||||
@ -344,6 +345,7 @@ trait UpdateHandler
|
||||
'updateInlineBotCallbackQuery' => isset($update['game_short_name'])
|
||||
? new InlineGameQuery($this, $update)
|
||||
: new InlineButtonQuery($this, $update),
|
||||
'updateBotInlineQuery' => new InlineQuery($this, $update),
|
||||
default => null
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user