@@ -3,12 +3,14 @@ discard block |
||
| 3 | 3 | namespace Telegram\Bot; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Contracts\Container\Container; |
| 6 | +use Illuminate\Support\Str; |
|
| 6 | 7 | use Telegram\Bot\Commands\CommandBus; |
| 7 | 8 | use Telegram\Bot\Events\EmitsEvents; |
| 8 | 9 | use Telegram\Bot\Events\UpdateWasReceived; |
| 9 | 10 | use Telegram\Bot\Exceptions\TelegramSDKException; |
| 10 | 11 | use Telegram\Bot\FileUpload\InputFile; |
| 11 | 12 | use Telegram\Bot\HttpClients\HttpClientInterface; |
| 13 | +use Telegram\Bot\Keyboard\Keyboard; |
|
| 12 | 14 | use Telegram\Bot\Objects\Chat; |
| 13 | 15 | use Telegram\Bot\Objects\ChatMember; |
| 14 | 16 | use Telegram\Bot\Objects\File; |
@@ -17,8 +19,6 @@ discard block |
||
| 17 | 19 | use Telegram\Bot\Objects\Update; |
| 18 | 20 | use Telegram\Bot\Objects\User; |
| 19 | 21 | use Telegram\Bot\Objects\UserProfilePhotos; |
| 20 | -use Telegram\Bot\Keyboard\Keyboard; |
|
| 21 | -use Illuminate\Support\Str; |
|
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Class Api. |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Telegram\Bot; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Contracts\Container\Container; |
| 6 | -use InvalidArgumentException; |
|
| 7 | 6 | use Illuminate\Support\Arr; |
| 7 | +use InvalidArgumentException; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class BotsManager |