@@ -8,13 +8,13 @@ |
||
| 8 | 8 | use Telegram\Bot\FileUpload\InputFile; |
| 9 | 9 | use Telegram\Bot\HttpClients\GuzzleHttpClient; |
| 10 | 10 | use Telegram\Bot\HttpClients\HttpClientInterface; |
| 11 | +use Telegram\Bot\Keyboard\Keyboard; |
|
| 11 | 12 | use Telegram\Bot\Objects\File; |
| 12 | 13 | use Telegram\Bot\Objects\Message; |
| 13 | 14 | use Telegram\Bot\Objects\UnknownObject; |
| 14 | 15 | use Telegram\Bot\Objects\Update; |
| 15 | 16 | use Telegram\Bot\Objects\User; |
| 16 | 17 | use Telegram\Bot\Objects\UserProfilePhotos; |
| 17 | -use Telegram\Bot\Keyboard\Keyboard; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * Class Api. |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | private $eventEmitter; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param EventInterface|string $event |
|
| 16 | + * @param UpdateWasReceived $event |
|
| 17 | 17 | * @throws \InvalidArgumentException |
| 18 | 18 | * @return bool true if emitted, false otherwise |
| 19 | 19 | */ |